Answers for "c# reference class"

C#
0

c# 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
Posted by: Guest on October-17-2021

Code answers related to "c# reference class"

C# Answers by Framework

Browse Popular Code Answers by Language