csharp class reference

Code Example - csharp class reference

                
                        // Unlike java we cant do Class<?> to contain a generic class
// but we can use Type to contain a type
// A type is essentially Class<?> but with some extra stuff added on
// You can grab a type with typeof(object/reference)
// It does the job :shrug:

Type stringClass = typeof(string); // this will store the string type <3