Saving a variable data to disk
问题 Is it possible to save a variable from C# to disk so that you are able to use it later in another instance of your project? For example, I have a struct with 3 fields like in the following example : struct MyStruct { byte[] ByteData; int MyInt; double MyDouble; }; I have an instance of this struct, let's say MyStruct S and I assign value to all my fields. After this step, I would like to save this variable somehow in disk so that I could use those stored values later in my program. I know,