954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

XMl serialization

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

saquib189
Newbie Poster
9 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You