Registry Learning in C#