[ad_1]
Foo has a static variable called Instance.
This static variable is intialized before Main is executed, which causes the constructor Foo() to be called
1
[ad_2]
solved why the program doesn’t begin with main method
[ad_1]
Foo has a static variable called Instance.
This static variable is intialized before Main is executed, which causes the constructor Foo() to be called
1
[ad_2]
solved why the program doesn’t begin with main method