I have some trouble with generic var naming. I use to mix uppercase & lowercase to define my variables in case sensitive languages, something like this.
I don't need to name fileInfo "TheInfoOfTheFile", fileInfo is great, but the code in VB becomes confusing. I cant imagine a good coding convection in VB. Could I have some advice ?Code:FileInfo fileInfo; public void TheClass(FileInfo fileInfo) { this.fileInfo = fileInfo; }
This is how I do it by now...
Code:Private FileInfo1 As System.IO.FileInfo; Public Sub New(ByVal FileInfo1 As System.IO.FileInfo) Me.FileInfo1 = FileInfo1; End Sub




Reply With Quote