34 lines
713 B
C#
34 lines
713 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.Data.SqlClient;
|
|
|
|
namespace OOP_Opdracht_CSharp_Alfa_2022.classes
|
|
{
|
|
class Game
|
|
{
|
|
// Define class members
|
|
|
|
private SqlConnection connection;
|
|
private Dictionary<int, String> table_data;
|
|
private KeyValuePair<int, String> record;
|
|
|
|
// Define methods
|
|
|
|
public KeyValuePair<int, String> find()
|
|
{
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
}
|
|
}
|