0

C# What's the best way to make a table with 2 columns and more than 20 verses in which one column is string and second int.

In the first column i wanna store string type values and in the second one i wanna store int type values. For example: John 3 Mark 4 Max 8 Additionally i want the values to be changeable. I would like to set the program to increase Mark's value by 1 if some event happens. For example: John 3 Mark 4 Max 8 After Event n. 1 John 4 Mark 4 Max 8 After Event n. 2 John 4 Mark 5 Max 8 I would also like to be able to show it on console. Sorry for my english and poor description. I am a beginner.

29th Jul 2017, 5:41 PM
Daniel Włudarczyk
Daniel Włudarczyk - avatar
1 Antwort