T
tshad
In VS 2008, why doesn't ToString require "()".
If I have Option Strict On on why can I do both:
selectedIndex.ToString()
selectedIndex.ToString
or
sQuery = temp.ToUpper().IndexOf("friend")
sQuery = temp.ToUpper.IndexOf("friend")
Aren't the parenthesis required?
I can understand that if Option Strict Off, but if it is Option Strict On, I
would have thought you would need the parenthesis as you do in C#.
Thanks,
Tom
If I have Option Strict On on why can I do both:
selectedIndex.ToString()
selectedIndex.ToString
or
sQuery = temp.ToUpper().IndexOf("friend")
sQuery = temp.ToUpper.IndexOf("friend")
Aren't the parenthesis required?
I can understand that if Option Strict Off, but if it is Option Strict On, I
would have thought you would need the parenthesis as you do in C#.
Thanks,
Tom