我需要创建一个物种的plist,因为它可以在wp7上完成?
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>
game
</key>
</dict>
</plist>
答案 0 :(得分:1)
Check this C#Property List(plist)序列化库(MIT许可证)。 它支持plist格式的XML和二进制版本。
要写一个plist,例如字典
Dictionary<string, object> dict = new Dictionary<string, object>
{
{"String Example", "Hello There"},
{"Integer Example", 1234}
};
Plist.writeXml(dict, "xmlTarget.plist");