Answers for "how to get string type in c#"

C#
3

get type of variable c#

string a = "This is a string";
Console.WriteLine(a.GetType())
Posted by: Guest on May-13-2020
0

c# type from string

Type type = Type.GetType("Namespace.MyClass, MyAssembly");
Posted by: Guest on September-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language