Populated Table data
This commit is contained in:
parent
6bdd4cac59
commit
68634123f9
@ -6,4 +6,8 @@
|
|||||||
<RootNamespace>OOP_Opdracht_CSharp_Alfa_2022</RootNamespace>
|
<RootNamespace>OOP_Opdracht_CSharp_Alfa_2022</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.0.1" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -21,5 +21,13 @@ namespace OOP_Opdracht_CSharp_Alfa_2022.classes
|
|||||||
return new KeyValuePair<int, string>();
|
return new KeyValuePair<int, string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Game()
|
||||||
|
{
|
||||||
|
table_data.Add(1, "Battlefield 2042");
|
||||||
|
table_data.Add(2, "Counter-Strike: Global Offensive");
|
||||||
|
table_data.Add(3, "Rust");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user