In C# types are said to be of value and reference types
If System.Object
is the topmost class so does it mean everything is object?
If its true ... then these questions come with them
1. so all types must be reference types as we cannot assign value directly to object .....
2.
int a=20; //this is primitive type or object ???
int a = new int(); //according to documentation this is reference type ...
How these two statements are different ... In first statement does the new
keyword get automatically called?
Please explain this diagram its confusing me a lot ... couldn't understand from msdn.