October 6, 2015

Convert Delimited Text File to DataTable

The following code converts a delimited text file to a DataTable: Private Function CreateDataTable(ByVal path As String, ByVal headers As Boolean, ByVal delimiter As Char) As DataTable Dim dt As

Get Letter Count

The following code returns the amount of times that a char appears in a stringPrivate Function GetLetterCount(ByVal input As String, ByVal letter As Char) As Integer Return input.ToCharArray().Count(Function(c) c =

Objective-C Popularity Declines

The big news in this month’s update to the Tiobe index of programming language popularity is that Objective-C fell out of the top ten for the first time in five