Bhavna Chaudhri

Bhavna Chaudhri

  • NA
  • 529
  • 20.6k

List to XML in C#

Nov 22 2020 12:18 AM
How to convert list<order> to XML in C#
  1. public class Order     
  2.     {      
  3.           
  4.         public string ItemCode { get; set; }      
  5.          
  6.         public string ProductName { get; set; }      
  7.          
  8.         public Int Qty { get; set; }      
  9.   
  10.         public double Price { get; set; }      
  11.      
  12.         public double TotalAmount { get; set; }      
  13.     }     
 

Answers (1)