.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 >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Preprocesses in DotNet

Posted By: PankajGupta     Posted Date: July 22, 2009    Points:2   Category :C#
What is Preprocesses in DotNet? How many types of Preprocesses is there in DotNet?

Responses
Author: Akhil Raj       [Moderator]      
Posted Date: July 22, 2009     Points: 5   

please check the following discussion

http://www.geekinterview.com/question_details/22672


Author: Syed Shakeer Hussain             
Posted Date: July 22, 2009     Points: 5   

Hi


A preprocessor directive is a piece of code that is meant explicitly for the compiler. This offers a programmer to focus compilation for a specific environment at compile time instead of runtime.


In C# preprocessor directives can be identified by a hash (#) infront of a word or statement. C# Preprocessor Directives

#if
#else
#elif
#endif
#define
#undef
#warning
#error
#line
#region
#endregion
#pragma
#pragma warning
#pragma checksum


In VB preprocessor directives can be identified by a hash (#) in front of a word or statement. VB.NET Preprocessor Directives

#Const
#ExternalSource
#If...Then
#ElseIf
#EndIf
#Region
#EndRegion




Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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