nahidjamalli

Lesson #4

Mar 1st, 2020
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1. using System;
  2.  
  3. namespace testt
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             int a;
  10.  
  11.             // STATEMENT
  12.             // regular
  13.             {
  14.                 int a;
  15.             }
  16.  
  17.             // complex
  18.             {
  19.  
  20.             }
  21.  
  22.             /*
  23.              * 1. Localization
  24.              * 2. Grouping
  25.              */
  26.  
  27.             for (int i = 0; i < length; i++)
  28.             {
  29.                 {
  30.                     {
  31.                         int a;
  32.                     }
  33.  
  34.                     {
  35.                         int a;
  36.                     }
  37.                 }
  38.             }
  39.  
  40.             Console.WriteLine(a);
  41.         }
  42.     }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment