I just realized that you can use vb specific functions in C#.
I am writing a CD cataloging program and all the title name were upper case in the Database.
I was looking for a function to convert the titles to proper case and unfortunately C# does not have a function to convert strings to proper case, so I had to use the on from VB.NET.
by using
using Microsoft.VisualBasic; or just qualifying the entire name space to use the function like this
Microsoft.VisualBasic.Strings.StrConv
.Net is off the hook![]()




Reply With Quote