Saturday, December 18, 2010

ASP: Why in C Sharp or java not having Pointer ?

ASP: which is fast way of string concatation?

Why in C Sharp or java not having Pointer ?

Because in C Sharp CLR is Work Memory management.It will change location in milliseconds or Address is not Fixed.that's way not having pointer.This same thing in Java. Same work do in java By JVM.

Thursday, December 16, 2010

Which is fast way of string concatation in asp.net?

There are two for string concatation :

1) using System.string
2)using System.stringbuilder
In system.string concatation base on pass by Value
For Example:- str1=str2+str3;
In System.stringbuilder base on pass by Reference
For Example:- str1=str2.append(str3);
2nd is Fast way of concatation.