VB.NET String Equals function is to check the specified two String Object values are same or not
System.String.Equals(String str1, String str2) As Boolean
Parameters:
String str1 : The String argument
String str2 : The String argument
Returns:
Boolean : Yes/No
It return the values of the two String Objects are same
For ex :
Str1 = "Equals()"
Str2 = "Equals()"
String.Equals(Str1,Str2) returns True
String.Equals(Str1.ToLower,Str2) returns False
Because the String Objects values are different
VB.NET SourceCode
When you run this program you will get message "Strings are Equal() "