C# Beginner to advanced - Lesson 71 - Preprocessor Directives

Ankpro Training
Ankpro Training
5.4 هزار بار بازدید - 8 سال پیش - Preprocessor Directives in C#: The
Preprocessor Directives in C#: The preprocessor directives give instruction to the compiler to preprocess the information before actual compilation starts. All preprocessor directives begin with #, and only white-space characters may appear before a preprocessor directive on a line. Preprocessor directives are not statements, so they do not end with a semicolon (;) #define and #undef - define or undefine symbol. #if, #else, #elif and #endif - use logic to see if a symbol is defined. #region and #endregion - Used for documentation of code. ankpro ankpro training Asp.net MVC C# C sharp Bangalore Rajajinagar Selenium Coded UI Mobile automation testing Mobile testing JQuery JavaScript .Net Components of the .Net framework Hello World Literal Keywords Variable Data types Operators Branching Loops Arrays ArrayList Strings String Builder Structures Enums Functions Classes Inheritance Polymorphism Properties Indexers Events Nested Classes Delegates Anonymous methods Labda expressions Abstract classes Exception Handling Linq Interfaces Extension methods Anonymous types Generics Collections Garbage Collection Reflection Attributes Input and output statements Type casting Partial Methods Partial Classes Boxing and Unboxing Var vs Dynamic vs Object using Static. Auto property initializer. Dictionary Initializer. nameof Expression. New way for Exception filters. await in catch and finally block. Null – Conditional Operator. Expression – Bodied Methods Easily format strings – String interpolation Parameterless constructors in structs. Creating a custom exceptions class.
8 سال پیش در تاریخ 1395/04/09 منتشر شده است.
5,472 بـار بازدید شده
... بیشتر