Where can these kind of applications be used ?
Module Module1 Sub Main() Dim Userstring As String = Nothing Dim CompString As String = "GaryAhuja" Console.WriteLine("Enter A String") Userstring = Console.ReadLine() Console.WriteLine(String.Compare(Userstring, CompString, True)) Console.ReadLine() End Sub End Module
i m talking about vb
I see that first you have an empty String and a String has a value "GaryAhuja" then the program asks the user to enter a string, and it compares it with your string "GaryAhuja" and writes the compare result
what is the use of creating these kind of applications
there is no specific use ... you can use this when you feel you need it !!!!!!
Join our real-time social learning platform and learn together with your friends!