Comments on: I can do in 2 lines of C# code what take 4 lines of VB.NET http://jrwren.wrenfam.com/blog/2006/11/22/i-can-do-in-2-lines-of-c-code-what-take-4-lines-of-vbnet/ babblings of a computer loving fool Mon, 21 Nov 2016 19:37:12 +0000 hourly 1 https://wordpress.org/?v=4.7.2 By: Luis http://jrwren.wrenfam.com/blog/2006/11/22/i-can-do-in-2-lines-of-c-code-what-take-4-lines-of-vbnet/comment-page-1/#comment-10342 Sat, 25 Nov 2006 11:42:21 +0000 http://little.xmtp.net/blog/2006/11/22/i-can-do-in-2-lines-of-c-code-what-take-4-lines-of-vbnet/#comment-10342 Can do in 2 lines of C# code what take 3 lines of VB.NET:

For Each c as Control in numericUpDown1.Controls
tooltip.SetToolTip(c, “mytooltip”)
Next

Good programming isn’t a matter of language and LOC. It’s style what counts.

Have fun !

]]>