C# String Theory—CSharp vs. Java: Strings
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| CSharp-Online.NET:Articles |
| C# Articles |
| edit |
[edit]
C# versus Java language: Strings
Modern programming languages must be able to combine textual and numerical data with relative ease in order to build HTML, SQL, or XML programmatically on the fly. Both C# and Java language support string concatenation in a natural manner with an overloaded plus (+) operator which can convert most non-string types to strings. The string handling APIs of both languages share a common set of features.
[edit]
Differences between Java and C# - String
- A Java
Stringalways has an upper case S.
- A Java
- There is no verbatim string in the Java language.
- There is no equivalent of the Java
StringTokenizerin C#. Instead, use theSplitfunction to parse astringinto an array of strings based on a delimiter.
- There is no equivalent of the Java
|

