📜  c# 类参考 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:17.045000             🧑  作者: Mango

// 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