Hi, I'm creating a simple project for xml serialization in the reference of Microsoft press MCTS .net 2.0 by Tony Northup. ok In this application I create a Class Shopping Cart That has 4 public members and a parameterless constructor because it mentioned that private and protected members are skipped during serialization. (is it true). and how can i put instance of the class in main method because the class contains parameterless constructor. i'll will show the example below:
Public Class ShoppingCartItem
Public item As Integer
Public Price As Double
Public Rate As Integer
Public total As Double
Public Sub New()
MyBase.New()
End Sub
End Class
thank you