"Serialization is the process of converting the state of an object into a form that can be persisted or transported.
The complement of serialization is deserialization, which converts a stream into an object.
Together, these processes allow data to be easily stored and transferred."
In this article I will show you how to export data from generic collection to Excel file.
Assume you are working with list of Car entities. Car has some properties like name, color, and maximum speed. In this case, your entity would look like this...
System.IO.FileSystemWatcher class allows you to monitor physical directory activity, listen to the file system change notifications and raises events when a directory, or file in a directory changes.
I'we made small WPF application that will demonstrate you how use this class.
A System.Tuple is static class that allows you to create collection of specific data-typed values.
You can store values like...
Tuple tuple = new Tuple<int, string, string, bool>(1, "Matija", "Božičević", true);
...or you can create it in more easy way...
var tuple = Tuple.Create(1, "Matija", "Božičević", true);