{{theTime}}

Search This Blog

Total Pageviews

C# Processor directive: #region

#region is used to expand or cllapse when using the outlining feature of the visual studio code editor.

Syntax: #region name

Note:
A #Region block must be terminated with a #endregion directive
A #region block cannot overlap with #if block, However, can be nested in a a #if block and a #if block can be nested in a #region block.
Example:
#region Addition
public int add(int a, int b){
return a+b ;

}
#endregion

No comments:

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...