Couple more questions, I'm use to:
string DoSomething()
{
// return code...
return x;
}
in a function, VB has allowed me to do that, but is that legacy VB6 or is:
Function DoSomething() As String
'return code
DoSomething = x
End Function
the prefered way.
And with arrays, I've been doing in C# and transposing into VB
for(int i = 0;i<z.Length;i++)
{//Code}
Should I be using UpperBound and LowerBound instead? Which method is perferred by DotNet?
string DoSomething()
{
// return code...
return x;
}
in a function, VB has allowed me to do that, but is that legacy VB6 or is:
Function DoSomething() As String
'return code
DoSomething = x
End Function
the prefered way.
And with arrays, I've been doing in C# and transposing into VB
for(int i = 0;i<z.Length;i++)
{//Code}
Should I be using UpperBound and LowerBound instead? Which method is perferred by DotNet?