Heres a little light reading[^] for you. It is after all a fairly large and critical area of developing. try wandering through some of these articles and pick the ones most relevant to you.
My intention wasnt to ask a direct question to Ertan, I referenced his work so that somebody can have a look at his code, since I am very new to C#. I dont know which part of the code to modify since he uses a list to store the info in. Thanks