/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System; using System.Web.Script.Serialization; namespace Test { [Serializable] public class BaseResult { public bool Success { get; set; } public string Message { get; set; } public string ToJson() { var _this = serializer.Serialize(this); return _this; } } }
Comments
