C # generics

Generic allows you to delay writing the specification of the data type of the programming element in the class or method until it is actually used in the program. In other words, generics allow you

C # data type (2)

String char a collection of string name = “John Doe”; Double quotes, char is a single quote
string is immutable, once it is initialized, it cannot be changed. Every time you use the existing string

C # entrusted supplement 01

The last article wrote some of the most basic things for commissioning. In this article, let’s talk about commissioning other things.

According to the understanding of the delegation, the delegation can Pass a method as a parameter. Using this feature, we can use delegates to implement plug-in programming.