Is there a way to make this a shorter phrase. - C#