how to check - C#