Examveda

What does the following C# code imply?
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


Join The Discussion

Related Questions on Classes and Objects in C Sharp