SHARE
TWEET

Lesson #1

nahidjamalli Feb 14th, 2020 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace MyNamespace
  2. {
  3.     class MyClass
  4.     {
  5.         static void Main()
  6.         {
  7.             // String VS Char
  8.             string str = "";
  9.  
  10.             // Can not set ''
  11.             // Only can set single character
  12.             char ch = ' ';
  13.  
  14.             // Print on Console
  15.             // H
  16.             // A
  17.             // !
  18.             // ...
  19.  
  20.             //for (int i = 0; i < str.Length; i++)
  21.             //{
  22.             //  System.Console.WriteLine(str[i]);
  23.             //}
  24.  
  25.             System.Console.WriteLine(ch);
  26.         }
  27.     }
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top