hey guys...
please take a look on this piece of code:
FileStream fileStream = new FileStream(fileName, FileMode.Create);
(new BinaryFormatter()).Serialize(fileStream, toSave);
fileStream.Flush();
fileStream.Close();
I have an error on second line -There was an error reflecting type "myType"-
"myType" is predictably [Serializable];
in "myType" I have a property of type "ZedGraph.LineItem" and I think it's the cause.
so what should I do know...
please help...