What does the following C# code imply?
csharp abc;
abc = new charp();
csharp abc;
abc = new charp();A. Object creation on class csharp
B. Create an object of type csharp on heap or on stack depending on the size of object
C. create a reference c on csharp and an object of type csharp on heap
D. create an object of type csharp on stack
Answer: Option C
Related Questions on Classes and Objects in C Sharp
A. A blueprint for creating objects
B. A method in C#
C. A variable in C#
D. A data type in C#
A. A method in C#
B. A variable in C#
C. An instance of a class
D. A data type in C#
A. public
B. private
C. protected
D. internal

Join The Discussion