Cannot access non-static method in static context? - C#