Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace asd
- {
- class wtf
- {
- static void Main(string[] args)
- {
- string s;
- db = 0;
- string[,] tomb;
- int i = 0;
- do
- {
- Console.WriteLine(db + 1 + ". asd:wtf:lol");
- s = Console.ReadLine();
- while (s.IndexOf(':') != -1)
- {
- tomb[db,i] = s.Substring(0, s.IndexOf(':'));
- s = s.Substring(s.IndexOf(':') + 1);
- i++;
- }
- db++;
- Console.WriteLine();
- } while (s != "vége");
- tomb = new string[db, 3];
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement