Please explain the basic string operations used in c#?



Please explain the basic string operations used in c#?..

Answer / Sumesh Kumar Gangwar

In C#, basic string operations include concatenation (using '+' or '+='), substring extraction (using 'Substring' method), checking length (using 'Length' property), replacing characters ('Replace' method), and comparing strings ('==' operator).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is gac? What are the steps to create an assembly and add it to the gac?

1 Answers  


Are private class-level variables inherited?

2 Answers  


In which format you can pass the value in the sleep function?

1 Answers  


How to include c++ header files in c# components?

1 Answers   UST,


What is linq c#?

1 Answers  


Can properties be overloaded in c#?

1 Answers  


You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1 Answers  


What is the use of tryparse in c#?

1 Answers  


What is difference between string and stringbuilder in c#?

1 Answers  


What is the usage of Enumeration in C# Programming and is it good to use or not ?

1 Answers   MCN Solutions,


Name the property of the textbox which cannot be changed at runtime?

1 Answers  


What is the difference between ref and out parameters in c#?

1 Answers  


Categories