cannot convert type int to string code example
Example 1: how can convert string to int csharp
Int16.Parse("100");
Example 2: cannot convert string to generic type c#
T newT1 = (T)(object)"some text";
string newT2 = (string)(object)t;
Int16.Parse("100");
T newT1 = (T)(object)"some text";
string newT2 = (string)(object)t;