Method SerializeToFile
SerializeToFile<T>(string, T)
Serializes object to the specified file.
public static void SerializeToFile<T>(string filename, T obj)
Parameters
filename
stringPath to file.
obj
TObject to serialize.
Type Parameters
T
Type of the serialized object.