What is the difference between string keyword and system.string class?



What is the difference between string keyword and system.string class?..

Answer / Hemant Khitaulia

"The 'string' keyword is a built-in alias for System.String class in C#. They are essentially the same, but using the keyword makes the code cleaner and more concise."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What do you know about Translate Accelerator?

1 Answers   C DAC,


Why do we use class in c#?

1 Answers  


What is .edmx file?

1 Answers  


Explain the mechanism of VB.NET/C# achieve polymorphism?

1 Answers   Siebel,


what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??

2 Answers  


What is a private class in c#?

1 Answers  


How to create events for a control? What is custom events? How to create it?

1 Answers  


Why do I get a "cs5001: does not have an entry point defined" error when compiling?

1 Answers  


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

1 Answers  


What's new in c#?

1 Answers  


What are floating point numbers?

1 Answers  


What is deadlock in c#?

1 Answers  


Categories