Archive for July, 2008

Struct program in C#

Friday, July 25th, 2008

One of the simplest program for Struct…

===
class zzz
{
public static void Main()
{
xxx a = new xxx(10);
}
}
struct xxx
{
public int i,j;
public xxx(int p)
{
i = p;
j = 0;
}
}
===

Just compile it and run it to understand the c# code better.