Any way to declare these variables more efficiently? - C#