Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C# URI parts url
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Uri uri = new Uri("http://insights.bersin.com/community/Human%20Resources/members/"); //Uri uri = new Uri("https://talentone.Bersin.com/Search/?Idx=research&search=test"); Console.WriteLine("Scheme : " + uri.Scheme); Console.WriteLine("Authority : " + HttpUtility.UrlDecode(uri.Authority)); Console.WriteLine("AbsolutPath : " + uri.AbsolutePath); Console.WriteLine("Query : " + HttpUtility.UrlDecode(uri.Query)); Console.WriteLine("Query : " + uri.Query); string t = uri.AbsolutePath.ToLower().Replace("/playbooksolutions/", "/solutions/").Replace("/solution/", "/"); Console.WriteLine(t); } } }
run
|
edit
|
history
|
help
0
asxsd dxsd
Tttt
7. Asynchrony
Task 1_4
Array 10th grade
Eliminate duplicates char in string either upper or lower case
MidtermsGame_Rampage_12Geronimo
Lab8
if Two Words Are Anagrams of Each Other
Output to get sum = 5 in given array of integers