How to save an object for latter retriving it.
I have a list of objects and I need to save that somewhere in my computer. I have read some forums and I know that the object has to be serializable. But it will be nice if I can get an example. For example if I have the following:

    [Serializable]
    public class SomeClass
    {
         public string someProperty { get; set; }
    }

  .   

    SomeClass object1 = new SomeClass { someProperty = "someString" };
    
    // how could save object1 somewhere in my computer. 
    // moreover how could I retrieve it
    
How to save an object for latter retriving it.
===

I have a list of objects and I need to save that somewhere in my computer. I have read some forums and I know that the object has to be serializable. But it will be nice if I can get an example. For example if I have the following:

    [Serializable]
    public class SomeClass
    {
         public string someProperty { get; set; }
    }

  .   

    SomeClass object1 = new SomeClass { someProperty = "someString" };
    
    // how could save object1 somewhere in my computer. 
    // moreover how could I retrieve it
    