cannot convert string to generic type c#

C#
T newT1 = (T)(object)"some text";
string newT2 = (string)(object)t;
Source

Also in C#: