c# program one hundred cases