Table of Contents

Method SerializeToFile

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SerializeToFile<T>(string, T)

Serializes object to the specified file.

public static void SerializeToFile<T>(string filename, T obj)

Parameters

filename string

Path to file.

obj T

Object to serialize.

Type Parameters

T

Type of the serialized object.