G
Guest
Can anybody tell me what is the quickest way )most efficient) method of
performing comparisons in vb.net?
I'm making modifications to an asp.Net / vb.net application developed by
someone else. The code base is loaded with nested if statements all doing
string comparisons. The research that I've done so far indicates that
string.compareordinal is more efficient than string.compare but I haven't
been able to locate anything regarding the efficiency of select case vs
either of these compare methods. Essentially I'm looking for a best practice
for string comparisons.
You thoughts are appreciated. Thank you!!
performing comparisons in vb.net?
I'm making modifications to an asp.Net / vb.net application developed by
someone else. The code base is loaded with nested if statements all doing
string comparisons. The research that I've done so far indicates that
string.compareordinal is more efficient than string.compare but I haven't
been able to locate anything regarding the efficiency of select case vs
either of these compare methods. Essentially I'm looking for a best practice
for string comparisons.
You thoughts are appreciated. Thank you!!