Input:http://www.allinterview.com/forms/questionform.php
Output:http://www.allinterview.com/forms/questionform
Write c# program to get the above desired output for the given
Input.....
Answer Posted / prem ranjan
string input="http://www.allinterview.com/forms/questionform.php";
string output= input.Substring(0, input.LastIndexOf("."));
Console.WriteLine(output);
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between the asp and asp.net?
What are the different types of validation controls in asp.net?
What are app services?
Explain the different types of assemblies?
What does the orientation property do in a menu control?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
Why cyclomatic complexity is important?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
What is asp.net version?
What is scope of an application variable in asp.net?
What is asynchronous call?
What is paging in context of Memory?
What are standard controls?
What is difference between view state and session state?
What is the difference between Classic ASP and ASP.Net?