Hi Sarad! I learnt Python and Java this year as part of the course, going into university I had done VB.net (in college/high-school) and a bit of Python years earlier (in secondary school). The module was an introductory programming module, and expected to teach people who hadn't necessarily programmed before so wasn't really a challenge for me given my prior experience. We didn't do anything on generics or command line arguments, any CLI stuff I know has been self taught, sounds interesting though 😁.
Henry remember this.
Dim output As String
'Old Delete Block
If File.Exists(fileName) = True Then
Debug.WriteLine("file deleted ")
'Using fs As FileStream = File.Create(fileName)
' For Each t In coastalTowns
' output = New UTF8Encoding(True).GetBytes(String.Format(myFormat, t.name, t.county, t.population, t.area))
' fs.Write(output, 0, output.Length)
FileOpen(2, fileName, OpenMode.Random, , , 43)
For Each T In coastalTowns
If Not T.name = "" Then
output = (String.Format(myFormat, T.name, T.county, T.population, T.area))
The obsolete code we had to use. haha
My god, yes I do. FilePut(), FileOpen() and FileClose() are bring back horrid memories from my A Level coursework hahahaha. One of the reasons I'm very glad my VB days are behind me.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.