Syntax for c# to do this? - C#