1
Reply

C#'s Object Orientation

Narasimhamurthy Jiguru

Narasimhamurthy Jiguru

May 31 2016 11:57 PM
273
In C# value types are also like objects unlike java, thus can we say in C# every thing is related to objects only and is pure object oriented language ?
class Program
{
   static void Main(string[] args)
   {
      byte b = new byte();
      Console.WriteLine(b.GetType());
      Console.ReadKey();
   }
 }

Answers (1)