Tip: This feature exists to allow shorter source text for class declarations in the C# language.
Info: The resulting code is equivalent to having the variable initialized at the top of all constructor method bodies.
Program: We see the Test class, which uses a variable initialization syntax form, and the Program class which provides the Main entry point.
First: The Test class is constructed and allocated upon the managed heap. The constructor calls GetPi and stores its result.
GetPi: This method call was inserted at the top of the constructor in the compiled code.
Thus: This syntax will have no unique effect on execution and is purely syntactic sugar in the language.