samedi 15 août 2020

apostrophe + number beside class name returned by Type.GetType [duplicate]

I am trying to return the class name by:

Type.GetType(ObjectName).Name;

but it return classname + apostrophe + number like "MyClass'9"

Why this happen?
What is the number refers to?
How to return the class name without "apostrophe + number"?

Thank You





Aucun commentaire:

Enregistrer un commentaire