You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
using Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection.Emit;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml.Schema;
|
|
using static System.Console;
|
|
|
|
namespace ConsoleApp
|
|
{
|
|
internal class FileName
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
/* int a = 0;
|
|
|
|
int[] tab = new int[3] { 1, 2, 3 };
|
|
int[] tab2 = new int[tab.Length];
|
|
tab.CopyTo(tab2, 0);
|
|
tab2[1] = 0;
|
|
DisplayTab("Tableau 1 :", tab);
|
|
DisplayTab("Tableau 2 :", tab2);
|
|
*/
|
|
|
|
Carte C = new Carte("Villageois", "Aucuns", "Doit voter inteligemment", null, "lien", "une carte peu apprécié mais necesaire");
|
|
Pack P = new Pack("Jeu de base", "C'est la premiere version du jeu", 5);
|
|
Console.WriteLine(C.Nom);
|
|
Console.WriteLine(P.Nom);
|
|
|
|
}
|
|
static void DisplayTab(string name, int[] tab)
|
|
{
|
|
Console.Write($"{name} ");
|
|
foreach (int i in tab)
|
|
{
|
|
Console.Write($"{i} ");
|
|
}
|
|
Console.WriteLine();
|
|
}
|
|
}
|
|
}
|