petre ricardo

petre ricardo

  • NA
  • 219
  • 0

How do i covert a List colletion to XML?

Sep 4 2010 6:59 AM

hi freinds,
i have class User and i have a List Collection List<User> lstUsers that contains a list of User objects.
The user class contain the following:
public class User
{
      public property string userCode{get;set;}
      public property string userName{get;set;}
}
How do i convert the list collection to XML?
thanks

Answers (3)