Q:

C# program to demonstrate the use of SchemeDelimiter property of Uri class

0

C# program to demonstrate the use of SchemeDelimiter property of Uri class

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Program:

The source code to demonstrate the use of SchemeDelimiter property of Uri class is given below. The given program is compiled and executed successfully.

using System;

class UriExample
{
    //Entry point of Program
    static public void Main()
    {
        string uriDelimeter = "";

        uriDelimeter = Uri.SchemeDelimiter;
       
        System.Console.WriteLine("URI Scheme delimeter is : ({0})",uriDelimeter);
    }
}

Output:

URI Scheme delimeter is : (://)

Explanation:

In the above example, SchemeDelimiter property returns string then we store returned value to a string variable and print them on the console screen.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now