








string simply converts it to a nullable string
null you can also use , for more info refer to the official documentation

ageInputstring? ageInput?varc#
int age = int.Parse(Console.ReadLine());int.TryParse(value,out int output)Console.WriteLine("hey");c#
string x = "some text \n new line will start from here \n and another line" ;string? ageInput = Console.ReadLine();
if(ageInput is null)
{
// handle no age input
}