How Do I access a database

Im trying to use an access data base as dictionary. EX: I want to have a string and a int stored in the database and then I want to one of the strings at random then get the int that corresponding with that string, How do I access the database and do that? I searched for tutorials online but had a hard time understanding them. I also heard that you can use a txt file as a sort of makeshift data base, if that would be better can someone explain that to me, thanks,

by imgonnagetshocked via /r/csharp

Leave a Reply