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

Differentiate between globalization and localization.

534


Why do we need url encoding?

518


Which protocol is used to call a web service?

560


Explain the difference between inline and code behind - which is best in?

502


What is the difference between runtime version and version?

503






Where can I get information on cookies in asp.net?

561


What is the use of global.asax file?

542


Explain cookies with example.

553


Explain culture and uiculture values.

536


What is session handling in a webfarm, how it can work with its limits?

621


Why viewstate is used in asp.net?

507


Describe the application event handlers in ASP.NET?

543


What is the difference between a multi-layer and multi-tier applications?

569


What is a user session?

497


What is the difference between session and viewstate?

513