Organizing Code into Classes
At this point much of your code has been written in static methods of the Program class so now it s time to learn more about .NET classes. You ll start by learning how to choose between static and instance methods. Next you ll explore the object-oriented nature of C# and how to create a class with a static method. Next you ll learn about instance methods and how to create instances of FileInfo as well as explore examples of instance fields and methods. You ll learn about constructors navigating Solution Explorer and Class View and using public and private methods. Finally you ll examine how to hide fields behind methods and the purpose of reference variables.áThis course was originally created by Global Knowledge (GK).á