c# string to uri code example
Example 1: c# convert string to uri
Uri myUri = new Uri("https://io9.gizmodo.com/operation-northwoods-the-1960s-government-plan-to-fake-5838778");
Example 2: c# string to uri
Uri myUri = new Uri("http://www.contoso.com/");