📜  c# 字符串类型 - C# 代码示例

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

代码示例1
//Exampled String
string str = "MyString";

//Getting Type of "MyString"
string typeOfStr = str.GetType().ToString();
//Show our Type
Console.WriteLine(typeOfStr);

// Or in short:
Console.WriteLine(str.GetType());