Partial Classes

Yopu may want to spliit a class definition when: When working on large projects, spreading a class over separate files enables multiple programmers to work on it at the same time. When working with automatically generated source, code can be added to the class without having to recreate the source file. Visual Studio uses this […]

Read More

Create New Class

Creating a new class Menu > Project > Add Class In the new .cs file add the following: The namespace can be a distinct name, or for classes that are part of a main ap you can just use the ap’s namespace name. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //—– NOTES —– […]

Read More