Tuesday, December 25, 2007

Constructors (1) Default Values Table

  • If you do not provide a constructor for your object, C# will create one by default that instantiates the object and sets any member variables to the default values listed here: Default Values Table (C# Reference).
  • Static classes and structs can also have constructors.
blog comments powered by Disqus