I was practicing to code anagram, but I find it easy since there is this method called Array.Sort().
Without using the method above, how do you sort them alphabetically? I just switched from Java to VB.net and still learning so yea :)
Assume this is the code:
Module Module1
Sub Main()
Dim str1, str2, str3 As String
Dim char1(), char2(), char3() As Char
Console.WriteLine("Enter 1st string:")
str1 = Console.ReadLine().ToLower.Replace(" ", "")
Console.WriteLine("Enter 1st string:")
str2 = Console.ReadLine().ToLower.Replace(" ", "")
Console.WriteLine("Enter 1st string:")
str3 = Console.ReadLine().ToLower.Replace(" ", "")
char1 = str1.ToCharArray()
char2 = str2.ToCharArray()
char3 = str3.ToCharArray()
End Sub End Module