N
Navaneeth.K.N
I know structure is a value type and derived from System.ValuType. So I have
the following questions,.
1 - C# won't allow to derive one structure from other. Then how come it is
derived from System.ValueType ?
2 - I have written a simple C# console application. Following is the
equivalent IL code which is generated for the structure
..class sequential ansi sealed nested private beforefieldinit MyStruct
extends [mscorlib]System.ValueType
{
}
In this it is showing as class. How this is possible ?
Any help would be useful
Thanks
the following questions,.
1 - C# won't allow to derive one structure from other. Then how come it is
derived from System.ValueType ?
2 - I have written a simple C# console application. Following is the
equivalent IL code which is generated for the structure
..class sequential ansi sealed nested private beforefieldinit MyStruct
extends [mscorlib]System.ValueType
{
}
In this it is showing as class. How this is possible ?
Any help would be useful
Thanks