The C# Pragma Directive PRO

Using the #paragma directive we can supress warning messages for specific code segments. The following short video clip shows that.

One of the scenarios in which this directive can be useful is the case of having multiple warning messages. When their number is small it is easy to track. When there are many of them it might confuse.

Share:

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences