Answers for "how to know the type of a variable 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

Code answers related to "how to know the type of a variable in c#"

C# Answers by Framework

Browse Popular Code Answers by Language