How to convert string to uri in C#

1 Answer

0 votes
using System;

class Program
{
    static void Main() {
        Uri uri = new Uri("https://seek4info.com");
         
        Console.Write(uri);
    }
}
 
 
 
 
/*
run:
 
https://seek4info.com/
 
*/

 



answered Aug 18, 2023 by avibootz

Related questions

1 answer 186 views
186 views asked Aug 18, 2023 by avibootz
1 answer 219 views
1 answer 204 views
204 views asked Oct 13, 2023 by avibootz
2 answers 393 views
3 answers 360 views
360 views asked Mar 11, 2017 by avibootz
2 answers 421 views
...