i have a class that contains a few properties and two methods, SaveToFile and LoadFromFile.

if i serialize the class in SaveToFile using serializer.Serialize(fs, this); is it possible to deserialize in the same way without creating a temporary variable to deserialize to and then setting the properties from the temporary variable?