0

Is there any similar datatype that I can use to save data in C# in the same way it is saved in TBXML Objective C?

Mahag
  • 25
  • 10

2 Answers2

0

Googling TBXML shows an XML parser. If this is the case, C# does have XML-parsing capabilities in the System.Xml namespace.

LMS
  • 4,117
  • 5
  • 27
  • 37
0

You can store (virtually) any datatype using XmlSerializer see http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx

You can specify whether a property of an object is to be stored using property attributes otherwise the serializer will use reflection to store the whole object.

See http://www.codeproject.com/Articles/14064/Using-the-XmlSerializer-Attributes for a decent tutorial

Paul Sullivan
  • 2,865
  • 2
  • 19
  • 25
  • If you are trying to pass data from one app to the other i.e. TBXML to c# then you will have to write a mapping class probably. – Paul Sullivan Nov 15 '12 at 08:00