c# judgment triangle