Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main
Dim SubKeys = My.Computer.Registry.LocalMachine.OpenSubKey("Software").GetSubKeyNames
Dim reg = From regKey In SubKeys _
Where regKey.StartsWith("C") _
Order By regKey
End Sub
End Class