Answer to the second question...
You can write messages to the console using the following functions: Console.Write()or Console.WriteLine(). Both functions take string as parameter.
"Cowards die many times before their deaths, The valiant never taste of death but once." - Julius Caesar
Hi dpu
This may not be exactly what you are looking for but you can follow the same idea to accomplish your task.
FYI this is done in VB.Net.....
Dim dInfo As DirectoryInfo = New DirectoryInfo("The path to your folder")
Dim NumOfDays as Integer = Some Integer
'Function that deletes files...
You can also try this.....
Dim MyArray() As String = New String() {"apple", "banana", "cat", "apple"}
'Sub routine to get the occurances/count of the strings
'in your array
Sub findOccurances()
Dim appleCount, bananaCount As Integer
For Each str As String In MyArray...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.