Write a console application and implement the ternary operator to decide whether the
age a user entered after being prompted is allowed to vote or not(given that only citizens
between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical
input.
No Answer is Posted For this Question
Be the First to Post Answer
What is hashtable in c# net with example?
What is generic method in c#?
Explain how do you debug an asp.net web application?
Can properties be static in c#?
What is a resource? Provide an example from your recent project.
2 Answers IBM, Logica CMG, Wipro,
What is the example of predicate?
What do you mean by jagged array?
What are Sealed Classes in C#?
What is the meaning of 0 in c#?
How to handle exceptions that are raised in a component?
What is void method?
Difference between debug.write and trace.write?