In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "what is the use of the identifier of C#", the content is detailed, the steps are clear, and the details are handled properly. I hope that this article "what is the use of the identifier of C#" can help you solve your doubts. Let's follow the editor's train of thought to learn new knowledge.
Identifier
Identifiers are used to identify classes, variables, functions, or any other user-defined item. In C#, class naming must follow the following basic rules:
Identifiers must begin with a letter, underscore, or @, followed by a series of letters, numbers (0-9), underscore (_), @.
The first character in an identifier cannot be a number.
Identifiers must not contain any embedded spaces or symbols, such as?-+! #% ^ & * [] {}. ; "'/\.
The identifier cannot be a C# keyword. Unless they have an @ prefix. For example, @ if is a valid identifier, but if is not, because if is the keyword.
Identifiers must be case sensitive. Uppercase and lowercase letters are considered different letters.
Cannot be the same as the class library name of C#.
What is C #? C # is a simple, general-purpose, object-oriented programming language developed by Microsoft Microsoft. It inherits the powerful functions of C # and C++, and removes some of their complex features. C # combines the simple visual operation of VB and the high running efficiency of C++, and becomes the preferred language for .NET development because of its strong operation ability, elegant syntax style, innovative language features and convenient component-oriented programming. However, it is not suitable for writing code that is time-critical or very high-performance, because C# lacks the key functionality required by extremely high-performance applications.
After reading this, the article "what is the use of identifiers of C#" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 246
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.