C# Notes

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

As long as your program has an entry point, it doesnt matter which class your

entry point method is in, or what that method does.


Since these classes are in the same namespace, they can all see each other
even though theyre in different files. A class can span multiple files too, but you
need to use the partial keyword when you declare it.
You can only split a class up into different files if you use the partial keyword. You
probably wont do that in any of the code you write in this book, but the IDE used
it to split your form up into two files, Form1. cs and Form1.Designer.cs

You might also like