Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
cannot convert string to generic type c#
Attia Noor
Programming language:
C#
2021-06-05 06:44:29
0
Q:
cannot convert string to generic type c#
Ben2209
Code:
C#
2021-04-07 07:36:33
T newT1 = (T)(object)"some text"; string newT2 = (string)(object)t;
1
Tags
string
type
con
cannot
gene
Related
c# properties making string required
cannot implicitly convert type 'system.threading.tasks.task string ' to 'string' c#
c# convert string to system.guid
c# type conversion
c# generic return type in interface
c# get type of object
dynamic convert type c#
c# nullable generic
to string c# fields
c# check if object is of any generic type
create new object from generic c#
c# check if type implements interface
c# get list object type of generic list
convert generic to type c#
F# convert generic.List to list
c# reflection create generic type
c# store generic type without arguments
c# cast to type dynamically
New to Communities?
Join the community