Create a property with getter and/or setter and initialize all in one line:
public string Foobar { get; set; } = "xyz";