ManishKumar
ManishKumar

Reputation: 1554

How to create serializable classes in C# using XMLs?

I think it is possible to create classes in visual studio using XMLs but i don't know how to do that/ Can anyone please help me?

Upvotes: 0

Views: 51

Answers (1)

Kosala W
Kosala W

Reputation: 2143

Here are the steps.

  1. Copy XML
  2. Open Visual Studio
  3. Create a new Class
  4. Go to Edit Menu
  5. Select 'Paste Special > paste XML as classes.

Upvotes: 3

Related Questions