Advertisement
ivanov_ivan

FirstStepsTest

May 19th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Threading.Tasks;
  8. using System.Globalization;
  9.  
  10. namespace FirstStepsTest
  11. {
  12.     class Program
  13.     {
  14.         static void Main(string[] args)
  15.         {
  16.             Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
  17.  
  18.             string a = "name1";
  19.             string b = "name2";
  20.  
  21.             Console.WriteLine($"{a} + {b}");
  22.  
  23.             Console.WriteLine("{0:C}", 100);
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement