H
huohaodian
Hi
I have some code something like.
public class Info
{
public static IList GetUser() { return User.GetUser();}
}
internal class User
{
IList static GetUser() { return db.GetUser(); }
}
internal class db
{
IList static GetUser() { //some code to return an arraylist }
}
Does each return makes a copy of data, I am trying to figure out if it
is need to enhance the performance.
Thanks in advance.
I have some code something like.
public class Info
{
public static IList GetUser() { return User.GetUser();}
}
internal class User
{
IList static GetUser() { return db.GetUser(); }
}
internal class db
{
IList static GetUser() { //some code to return an arraylist }
}
Does each return makes a copy of data, I am trying to figure out if it
is need to enhance the performance.
Thanks in advance.