Why is program a class - C#