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;
- using System.Threading.Tasks;
- namespace Strelci.v2
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Zadej počet hráčů");
- int pocetHracu = int.Parse(Console.ReadLine());
- for (int a = 0; a < pocetHracu; a++)
- {
- string name = "hrac" + (a + 1);
- strelci name = new strelci(); // tady je problem...
- }
- Console.ReadLine();
- }
- class strelci
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement