using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
string foo = null;
var bar = string.IsNullOrEmpty(foo)? string.Empty : foo.Substring(foo.Length - 4);
Console.WriteLine("Value: " + bar);
}