What is the difference between “instantiated” and “initialized”?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been hearing these two words used in Microsoft tutorials for VB.NET. What is the difference between these two words when used in reference to variables? 回答1: Value vis-a-vis Reference Types Variables in C# are in 1 of 2 groups. Value types or Reference types. Types like int and DateTime are value types. In contrast, any class you create is a reference type. C# strings are also a reference type. Most things in the .NET framework are reference types. Parts of a Variable There is the variable name and it's value . Two parts . The variable