Saturday, 13 May 2017

How to convert XML Data to Class using Visual Studio?

Hi All,

In this short article which saves you a lot of time in our day to day work. In visual studio IDE there is a feature called "Paste XML as Class" which is comes under Edit Menu and inside of Paste Special  sub menu.

In general, Once we have any data in any format we use to create a class with properties and variables manually.

With "Paste XML as Class" feature in visual studio saves you a time for XML data.

In order to achieve that we need a XML data.

In the below snapshot, It shows you how we can convert XML data to Class using Visual Studio IDE.
Fig: Steps to create convert XML to Class
I am hoping that through this article the reader learnt something new and saves your time and work.. If you really accept this please share it to your beloved people and provide your valuable comments in below.

Happy Coding :)