15-11-16, 01:42 AM
أيضا من الممكن ان تستخدم SortedDictionary كالتالي
PHP كود :
Dim dict As New SortedDictionary(Of Integer, String)()
Dim fileLocation As String = "اسم الملف شاملا اسم الفهرس"
If IO.File.Exists(fileLocation) Then
For Each s As String In IO.File.ReadAllLines(fileLocation)
dict.Add(Integer.Parse(s), s)
Next
End If

