jlego 15 Posting Pro

i have a few habbits in vb ..

1) ME before anything local in a form, example: me.label1, me.textbox1 and so on.

2) string.empty or in vb6 vbnullstring instead of = ""

3) put call infront of a function call... call pull_data instead of pull_data

3) instead of using if string = "" then i use if string.length = 0 or string.isnullorempty(s) then. in vb6 it was if lenb(string) = 0 then


do any of these benfit me in vb.NET , i have read that they do, and i have read that they dont. ill probably continue to use them either way, but i would like to know if im benefiting from it.

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.