visual studio 2019 prefer full type string code example
Example: how to show the value of a string in c#
using System;
string aText = "This is my text!";
Console.WriteLine(aText);
using System;
string aText = "This is my text!";
Console.WriteLine(aText);