Is there a throws keyword in C# like in Java? [duplicate]
No, because there are no checked exceptions in C# If you are trying to document exceptions that are thrown, use the standard xml documentation /// <exception cref=”InvalidOperationException”>Why it’s thrown.</exception>