Introduction to C#
- slide 12 : 43
The concept of structs has been much extended in C#
Structs in C# can be used almost in the same way as structs in C
in both C and C#
Structs in C# are almost as powerful as classes
Structs in C# can have operations (methods) in the same way as classes
Structs in C# cannot inherit from other structs or classes
Demonstrations of structs in C#.
Output from the struct demo program.
An extended demonstration of structs in C#.