What is meant by preprocessor directive in C#.NET?
A. a form of command which are interpreted by the compiler
B. a form of macros like in c and c++ not exactly same to them , separately designed for C#.NET
C. always begins with a ‘#’ character occupies separate line of source of code
D. All of the mentioned
Answer:A
What is meant by preprocessor directive in C#.NET?
A. a form of command which are interpreted by the compiler B. a form of macros like in c and c++ not exactly same to them , separately designed for C#.NET C. always begins with a ‘#’ character occupies separate line of source of code D. All of the mentioned
Explanation: Preprocessor directives are commands that are interpreted by the compiler and affect the output or behavior of the build process. The C# compiler does not have a separate preprocessor, like C and C++ we cannot use these directives to create macros. Preprocessing directives are top lines in our program that start with ‘#’. The ‘#’ is followed by an identifier that is the directive name.