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 Visitor Design Pattern

The Visitor Design Pattern

The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.

The Beauty of Code

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

Update cookies preferences