.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

What are the different C# preprocessor directives?

Posted By :Abhisek Panda     Posted Date :December 28, 2009    Points :10   Category :C# 
#region, #endregion:- Used to mark sections of code that can be collapsed.

#define, #undef:-Used to define and undefine conditional compilation symbols.

#if, #elif, #else, #endif:- These are used to conditionally skip sections of source code.

You can also find related Interview Question to What are the different C# preprocessor directives?  below: 

Difference Preprocessor directives:

  
#region , #endregion :- Used to mark sections of code that can be collapsed.
#define , #undef :-Used to define and undefine conditional compilation symbols.
#if , #elif , #else , #endif :- These are used to conditionally skip sections of source code. (More...)

Enumerate the types of Directives.

  
@ Page directive
@ Import directive
@ Implements directive
@ Register directive
@ Assembly directive
@ OutputCache directive
@ Reference directive (More...)

What are the types of Directives in AngularJs?

  
Directives is a main feature in AngularJs. It can be used in element name, attributes, comment and as well as css class.

Directive Type

1. Element Directives

2. Attribute Directives

3. Class Directives

4. Comment Directives (More...)

What is Directives?

  
Directives is a main feature in AngularJs. It can be used in element name, attributes, comment and as well as css class. We can able to used in built-in directives and can able to create an own directives like custom directives. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend