A simple study in c#