Home » 
        MCQs » 
        C# MCQs
    
        
    What is the use of throw statement in C#?
    
    
    
    49. What is the use of 'throw' statement in C#?
    
        - to return from the calling functions to called function
 
        - to throw an exception manually during the execution of the program
 
        - to return from the switch statement
 
        - None of the above
 
    
    Answer: B) to throw an exception manually during the execution of the program
    Explanation:
    The C# throw statement is used to throw an exception manually during the execution of the program.