Answers for "c# type of string"

C#
0

c# type of string

//Exampled String
string str = "MyString";

//Getting Type of "MyString"
string typeOfStr = str.GetType().ToString();
//Show our Type
Console.WriteLine(typeOfStr);

// Or in short:
Console.WriteLine(str.GetType());
Posted by: Guest on September-27-2021

C# Answers by Framework

Browse Popular Code Answers by Language