What is trim in c#?



What is trim in c#?..

Answer / Peeyush Kumar

In C#, the Trim() method removes any leading or trailing white space characters from a string. It can be used to clean up user inputs before further processing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Is c# or c++ better for games?

1 Answers  


what is method overloading in c#?

1 Answers   Arigo Infotech,


What does assemblyinfo.cs consists ?

4 Answers   Microsoft,


What is difference between write and writeline in c#?

1 Answers  


What do constructors do in c#?

1 Answers  


What is c# used for in the industry?

1 Answers  


What are the access-specifiers available in c#?

26 Answers   Syntel,


What is the use of table aliases?

1 Answers  


What is difference between array and list in c#?

1 Answers  


What?s the difference between // comments, /* */ comments and /// comments?

2 Answers   Intel, Visual Soft,


Is is possible to force garbage collector to run?

1 Answers  


Explain async and await?

2 Answers  


Categories