Hidden Features of VB.NET? -


i have learned quite bit browsing through hidden features of c# , surprised when couldn't find similar vb.net.

so of hidden or lesser known features?

the exception when clause largely unknown.

consider this:

public sub login(host string, user string, password string, _                             optional bretry boolean = false) try    ssh.connect(host, user, password) catch ex timeoutexception when not bretry    ''//try again, once.    login(host, user, password, true) catch ex timeoutexception    ''//log exception end try end sub 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -