C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,198 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, i'm trying to write a C# function, which should check if url is reachable or not.
This is what i got so far:
The Problem is, that the function always runs into to catch part. It doesn't care if the url is reachable or not.
Can anyone help me with this problem?