daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 21st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         static void Main()
  2.         {
  3.             byte[] mb = { 1, 2, 3, 4, 5 };
  4.             for (int i = 0; i < mb.Length; i++)
  5.             {
  6.                 Console.WriteLine("element {0} - {1}", i, mb [i]);
  7.             }
  8.  
  9.             string ch = "ABCDEFG";
  10.             char[] chars = ch.ToCharArray();
  11.             for (int i = 0; i < chars.Length; i++)
  12.             {
  13.                 Console.WriteLine("element {0} - {1}", i, chars [i]);
  14.             }
  15.         }
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