11 October 2012

Common myths in Asp.net


Common myths in Asp.net :

C# code is faster than Visual Basic code:

·         if good programming practices are followed, there is no reason why Visual Basic and C# code cannot execute with nearly identical performance. To put it more succinctly, similar code produces similar results.

Codebehind is faster than inline :
·         It doesn't matter where your code for your ASP.NET application lives, whether in a codebehind file or inline with the ASP.NET page.

Components are faster than pages:
·         It is better to group functionality logically this way, but again it makes no difference with regard to performance.

For Each is better performance than For loop:
Really for loop has  better performance than Foreach statement





No comments:

Post a Comment

Comments Welcome