[Personal use of. Net class library] preface:. net class library Preface
Personal Access to. Net started with a new company in August 2013.
So far, I have found my knowledge reserves as follows:
- Basic WinForm programming, but no corresponding project has been performed.
- Basic Asp. Net pages, with small functions such as query, tree menu, and logon (without complete project development experience ).
- Developed based on TCP and UDP interfaces, familiar with 102 and 104 protocols.
There are no fixed class libraries developed by myself. To reduce errors and improve efficiency, you must have your own class libraries. Although there are many third-party class libraries (such as the class libraries on the sufei forum and some other open-source class libraries, they are not self-written and familiar)
In this way, I believe that over time, my class libraries will become more and more perfect in terms of functionality and stability. The class library name is DotNet. Common.
What is the net class library?
Take C # as an example. The following statements are generally contained in the source program file *. cs:
Using System; // System class
Using System. Windows; // WINFORM class
Using System. Web // WebForm class
// The class defined by Microsoft is above. Many of these classes form class libraries.
There are many ready-made methods in each class. You just need to use them directly after declaring them, so you don't have to program them slowly.
// Of course, you can program your own classes and declare them as follows.
Using MyCompany;
Using MyCompany. Test;
How to use classes in the net class library?
(VB. NET) Dim instance As System. Windows. Forms. HtmlWindow
(C #) System. Windows. Forms. HtmlWindow instance;
Or import the System. Windows. Forms namespace first.
(VB. NET)
Inherits System. Windows. Forms
Dim instance As HtmlWindow
(C #)
Using System. Windows. Forms
HtmlWindow instance;