Test for equality between stings.
using System;
using System.Text;
class StringApp {
static void Main(string[] args) {
string s1 = "Hello ";
string s2 = "World!";
Console.WriteLine("s1 == s2: {0}", s1 == s2);
Console.WriteLine();
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
|