I want to store the serialized and saved object of my class in Properties.Resources and deserialize it, but any article found on the net can only find a way to deserialize from an existing file .

XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer (typeof (JISAKUCLASS));
                    StreamReader sr = new System.IO.StreamReader (
                        pathStr, new System.Text.UTF8Encoding (false));
                    JISAKUCLASS obj = (JISAKUCLASS) serializer.Deserialize (sr);
                    sr.Close ();
                    sr.Dispose ();

It is like the above.

Is there any way?

  • Answer # 1

    It was solved by Zuishin's advice.