G
Guest
Hello, friends,
In c#.net, I need to clone an object passed into a method,
private object generateCollection(object userInfo)
{
//I then need to generate a group of userInfo,
//How can I clone this passed in object?
//Do we have syntax something like this?
//object newUserInfo = new typeof(userInfo);
}
Thanks a lot.
In c#.net, I need to clone an object passed into a method,
private object generateCollection(object userInfo)
{
//I then need to generate a group of userInfo,
//How can I clone this passed in object?
//Do we have syntax something like this?
//object newUserInfo = new typeof(userInfo);
}
Thanks a lot.