One can learn a lot from looking other peoples code. Especially if the code is well crafted. I am not sure how to find well crafted code but here I will list sources for c# codes that I can find: