C#: Sync identical files.

This commit is contained in:
Geoffrey White
2019-10-22 15:24:50 +01:00
parent 2fa80c7da5
commit 78e56d9f7f

View File

@@ -4,8 +4,8 @@ class Bad
{
public static object Deserialize(string s)
{
// BAD
JavaScriptSerializer sr = new JavaScriptSerializer(new SimpleTypeResolver());
// BAD
return sr.DeserializeObject(s);
}
}