Articles → CSHARP → Use Pragma To Supress Complier Warning In C#

Use Pragma To Supress Complier Warning In C#





Picture showing the compiler warning when property which is marked as obselete is used in the code
Click to Enlarge


Pragma




#pragma warning disable




#pragma warning restore




Picture showing how pragma is used to supress the compiler warning in C#
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, June 22, 2015

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250