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 / konangiaparna

string output = input.Substring(0, input.LastIndexOf("."));

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

698


What's the difference between viewstate and sessionstate?

660


Define the term Web Garden?

618


What is autopostback in asp net?

676


What is razor? : asp.net mvc

645






What is the difference between Hash table and Array list?

474


What is the difference between abstract class vs interface? Can give me the real time examples?

562


Can you explain page lifecycle in net?

594


What is the difference between a default skin and a named skin?

690


Write a code for sending an email from asp.net application.

641


Can we override the enablepartialrendering property of the scriptmanager class?

743


how to elimainte the similar data from the different tables

1781


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

649


Where do the cookie state and session state information be stored?

597


What is break mode?

613