Glossary:Definition - Structure

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
 Term Structure
 Definition  Normally, a structure is a light-weight class used to create user-defined types containing only public fields and no properties. A structure is considered a value type. .NET structures support access modifiers, constructors, indexers, methods, nested types, operators, and properties. Unlike classes, structures do not support custom constructors, destructors, inheritance, or compile-time initialization of instance fields. Performance suffers when using structures in situations where reference types are expected due to Boxing and Unboxing.
 See also C# keyword struct, Class,
You may edit this definition to improve or extend it.

Online Dictionary of Visual C# .NET Programming
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
a free glossary of C# .NET terminology from C# Online.NET edit

Personal tools