I am so sorry for asking such a thick question. I need to sort the characters in a string using vb.net.
I normally use C#.
This is my code:
Dim val1() As Char = txtInput.Text.Trim.ToArray
val1 = val1.OrderBy(c >= c).ToArray()
Tells me that 'c' is not declared.
I have imported these:
Imports System.Collections.Generic
Imports System.Linq
Please tell me what I am doing wrong?
Thanks,