My friend has asked this question one week ago. He was not able to understand the usage of interfaces in his small projects. I decided to explain it, but I knew that it would be a long journey, from the beginning to the end. FInally he got the idea. Today I will try to explain … Continue reading Interfaces. Do I need these?
As I promised, I made an example of using serialization and deserialization in C# First of all we have to create class of objects which will be serialized/deserialized, let's say Person.cs: Then we should write a sample program which would do this 2 operations: As you can see, first we serialize list of objects, and … Continue reading XML Serialization, part 2
Today some information about object serialization without any examples, which are going to be in a 2nd part of this article (nearest future). What does serialization mean? Why should/shouldn't I use it? Situation: You have a huge IT project and someone asked you to make some optimization. It is too slow, it needs too much … Continue reading XML Serialization