1

I have read through both of the ".class" explanations (1,2) but I'm struggling to understand what the ".class" property does.

I have just started Java but have been programming in C# for a while. Is there any similar function in C# to this .class property? It might help me understand what this is.

Community
  • 1
  • 1
Nathan
  • 541
  • 1
  • 4
  • 20

1 Answers1

4

It's typeof in C#, your 2nd link explains it better.

Dexion
  • 1,101
  • 8
  • 14