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 112 views
112 views asked Aug 18, 2023 by avibootz
1 answer 129 views
1 answer 131 views
131 views asked Oct 13, 2023 by avibootz
2 answers 293 views
3 answers 230 views
230 views asked Mar 11, 2017 by avibootz
2 answers 306 views
...