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.