| Title | Open | |||
|---|---|---|---|---|
| 733 | Catch Divide By ZeroRead two integers a and b (each on its own line) and print a / b. | easy | Not started | Solve |
| 734 | Parse Integer SafelyRead one line of input and parse it to an integer with int.Parse. | easy | Not started | Solve |
| 735 | The finally BlockRead two integers and print Result: <a / b>. | easy | Not started | Solve |
| 736 | Array Index Out Of RangeAn array arr = { 10, 20, 30 } is given. | easy | Not started | Solve |
| 737 | Throw ArgumentException On Empty NameRead a name from input. | easy | Not started | Solve |
| 738 | Print The Exception MessageRead an age. | easy | Not started | Solve |
| 746 | List Index Out Of RangeA List<int> holds { 5, 10, 15 }. | easy | Not started | Solve |
| 748 | Invalid Operation ExceptionRead a count. | easy | Not started | Solve |
| 749 | Throw And Catch A General ExceptionRead an integer n. | easy | Not started | Solve |
| 750 | finally Always RunsPrint Try, then throw an exception. | easy | Not started | Solve |
| 753 | Null Reference ExceptionA variable text starts as null. | easy | Not started | Solve |
| 757 | Fallback Value On Parse ErrorDeclare int n;. | easy | Not started | Solve |
| 758 | Catch a Divide By ZeroRead two integers a and b (one per line), then print the result of a / b. | easy | Not started | Solve |
| 759 | Handle Invalid Number FormatRead one line of input and parse it to an int with int.Parse, then print Number: <n>. | easy | Not started | Solve |
| 760 | Read the Exception MessageThe try block throws new InvalidOperationException("operation not allowed"). | easy | Not started | Solve |
| 761 | Catch Any ExceptionRead an integer n and print 100 / n. | easy | Not started | Solve |
| 762 | The finally Block Always RunsRead an integer and print Parsed: <n>. | easy | Not started | Solve |
| 763 | Throw an ArgumentExceptionRead an age. | easy | Not started | Solve |
| 764 | Null Reference HandlingThe variable text is set to null. | easy | Not started | Solve |
| 765 | Catch the Base ArithmeticExceptionRead two integers and print a / b. | easy | Not started | Solve |
| 766 | Print the Exception Type NameRead an integer and print Value: <n>. | easy | Not started | Solve |
| 767 | Convert.ToInt32 Can Throw TooRead a line and convert it with Convert.ToInt32, then print Doubled: <n2>. | easy | Not started | Solve |
| 768 | Recover With a Default ValueTry to parse the input into a variable named value. | easy | Not started | Solve |
| 769 | Substring Out Of RangeRead a string and print its first three characters using s.Substring(0, 3). | easy | Not started | Solve |
| 739 | Multiple Catch BlocksRead two integers and print their quotient. | medium | Not started | Solve |
| 740 | Custom Exception ClassDefine a custom exception InsufficientFundsException that inherits from Exception and takes a message. | medium | Not started | Solve |
| 742 | Exception Filter With whenRead an integer status code. | medium | Not started | Solve |
| 743 | Checked OverflowRead two integers and add them inside a checked(...) expression, then print Sum: <sum>. | medium | Not started | Solve |
| 744 | ArgumentNullExceptionRead one line. | medium | Not started | Solve |
| 745 | Key Not Found In DictionaryA dictionary maps Alice -> 30 and Bob -> 25. | medium | Not started | Solve |
| 751 | Validate Percentage RangeRead an integer percent. | medium | Not started | Solve |
| 752 | Overflow On Byte CastRead an integer n and convert it to a byte using checked((byte)n), then print Byte: <b>. | medium | Not started | Solve |
| 755 | Identify The Exception TypeRead an integer n. | medium | Not started | Solve |
| 770 | Two Catch BlocksRead two integers and print a / b. | medium | Not started | Solve |
| 771 | Overflow When Parsing a ByteRead a line and parse it into a byte (which holds 0 to 255) using byte.Parse, then print Byte: <b>. | medium | Not started | Solve |
| 772 | Invalid Operation on an Empty ListRead an integer n. | medium | Not started | Solve |
| 773 | Missing Dictionary KeyA Dictionary<string, int> maps names to ages (Alice=30, Bob=25). | medium | Not started | Solve |
| 774 | Filter With a when ClauseRead an integer code, then throw new InvalidOperationException(code.ToString()). | medium | Not started | Solve |
| 775 | Nested Try/CatchRead an integer n. | medium | Not started | Solve |
| 776 | Argument Cannot Be NullRead an id. | medium | Not started | Solve |
| 777 | Validate a RangeRead a score. | medium | Not started | Solve |
| 778 | Throw From a MethodRead an integer n and print Result: <100 / n> using a helper method DivideHundred(int x) that returns 100 / x but throws new DivideByZeroException() when x is 0. | medium | Not started | Solve |
| 790 | Catch An Invalid CastAn object variable can hold any type, but unboxing it to the wrong type throws an InvalidCastException. | medium | Not started | Solve |
| 741 | Rethrow With Nested TryRead an integer n. | hard | Not started | Solve |
| 747 | Custom Exception With DataDefine a custom exception NegativeNumberException that stores the rejected number in an int Value property. | hard | Not started | Solve |
| 754 | Wrap With Inner ExceptionUse a nested try/catch. | hard | Not started | Solve |
| 756 | Function That ThrowsRead two integers and print Result: <Divide(a, b)>. | hard | Not started | Solve |
| 779 | Define a Custom ExceptionDefine your own exception class NegativeNumberException that extends Exception and passes a message to the base constructor. | hard | Not started | Solve |
| 780 | Rethrow With throw;Read an integer n. | hard | Not started | Solve |
| 781 | Custom Exception With Data and finallyDefine an InsufficientFundsException with an int Shortfall property set through its constructor. | hard | Not started | Solve |