| Next Tip?
Home » Archive

Articles Archive for November 2008

Asp.net, CSharp, Tutorial »

[2 Nov 2008 | No Comment | 471 views]

Creating Dynamic Assembly: A Step Ahead Series
Introduction:
This is a continuation to my earlier post C#-The Language : A Step Ahead Series-Part-II
The following code snippet showed how to create a dynamic assembly:
/* This Example is a part of different
* examples shown in Book:
* C#2005 Beginners: A Step Ahead
* Written by: Gaurav Arora
* Reach at : msdotnetheaven*/
// File name : dynamicAssembly.cs
//This demostrates how to build a dynamic assembly
using System;
using System.Reflection;
using System.Reflection.Emit;
namespace CSharp.AStepAhead.dynamicAssembly
{
class CodeGenerator
{
Type t;

Asp.net, CSharp, Tutorial »

[2 Nov 2008 | No Comment | 357 views]

C#:Reflection – A Step Ahead Series
Introduction:
This is a continuation to my earlier post C#-The Language : A Step Ahead Series-Part-II
Simply, the mechanism through which one can access metadata information is called reflection. Namespace System.Reflection can be used to browse through the metadata information. Using reflection you can also dynamically invoke methods using System.Type.Invokemember.
/* This Example is a part of different
* examples shown in Book:
* C#2005 Beginners: A Step Ahead
* Written by: Gaurav Arora
* Reach at : msdotnetheaven*/
// File name : reflectionAssembly.cs
using System;
using System.Reflection;
namespace CSharp.AStepAhead.reflectionAssembly
{
public class …

Asp.net, CSharp, Tutorial »

[2 Nov 2008 | No Comment | 256 views]

C#:Cross Language Assembly Implementation
Introduction:
This is a continuation to my earlier post C#-The Language : A Step Ahead Series-Part-II
In the available example you have to create another .net language application lets say here you will create a Visual BAsic.NET class application.
Following we have two code snippet one is showing Cross Language Assembly while another implementing the same:
The following is the VB.Net code(s):
‘ This Example is a part of different
‘ examples shown in Book:
‘ C#2005 Beginners: A Step Ahead
‘ Written by: Gaurav Arora
‘ Reach at : msdotnetheaven
REM File name : vbClass.vb
Namespace …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes