[Solved] Declaring C# variable with and without Constructor


First one you are only declaring and in second you declaring and initializing.
If you use any instance of a class without initializing, then you will get null reference exception as Object reference not set to an instance of an object

solved Declaring C# variable with and without Constructor