📜  无法将字符串转换为泛型 c# 代码示例

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

代码示例1
T newT1 = (T)(object)"some text";
string newT2 = (string)(object)t;