Since version 3.0 of C# some features that make writing classes and common methods simpler and concise have introduced.
In this post we talk about automatic properties and object initializers.
AUTOMATIC PROPERTIES
The automatic properties (or auto-implemented properties) are nothing more than a compact syntax for writing the properties of a class. They allow you to write code [...]
Tags: automatic properties, c#, object initializers
Posted in .NET, Development |
Hi all,
In today’s post I want to introduce a simple method for attaching DataSet objects, instantiated in our code, to CrystalReport 2008 reporting tool.
CrystalReport is a powerful tool that allows you to easily create reports on data processed in our .NET applications.
The following steps are used to create the reports of a dataset created in [...]
Tags: ADO.NET, c#, CrystalReport
Posted in .NET, Development |
I continue my post on LINQ and C# programming talking about the conversion from XML file to C# classes.
Previously I’ve show how to serilize a C# class into XML file.
Let me show you an example.
Suppose we have an XML file that contains the list of Italian municipalities with their area code.
We now want to [...]
Tags: c#, LINQ, serialization
Posted in .NET, Development |
COMMENTS