Tag: .Net Framework

Aug 18

Single Inheritance in C#-Example

C-Sharp

In single inheritance we have single base class that is inherited by the derived class and the derived class has all the features of the base class and can add some new features and italso depends on the access specifier that is used at the time of base class inheritance.

Continue reading

Permanent link to this article: http://zappmania.in/2016/08/18/single-inheritance-c-example.htm

Aug 18

Multilevel Inheritance in C#-Example

C-Sharp

This C# Program Demonstrates Multilevel Inheritance. Here when a derived class is created from another derived class, then that inheritance is called as multi level inheritance. Here is source code of the C# Program to Demonstrate Multilevel Inheritance. The C# program is successfully compiled and executed with Microsoft Visual Studio.

Continue reading

Permanent link to this article: http://zappmania.in/2016/08/18/multilevel-inheritance-in-c-example.htm

Aug 18

DateTime Formatting in C#

C-Sharp

The DateTime class is most useful for our time based programs. But most of the time we don’t know how to use the it with appropriate formats. First of all there are different custom format specifiers for formatting datetime. list goes like below :

Continue reading

Permanent link to this article: http://zappmania.in/2016/08/18/datetime-formatting-in-c.htm

Aug 18

LINQ -Language Integrated Query

C-Sharp

LINQ -Language Integrated Query LINQ is set of extensions to the .Net Framework 3.5 and its managed languages that sets the query as an object. It defines a common syntax and a programming model to query different types of data using a common language. The relational operators like Select, Project, Join, Group, Partition, Set operations …

Continue reading

Permanent link to this article: http://zappmania.in/2013/08/18/linq-language-integrated-query.htm

Jul 28

Create properties in C#

C-Sharp

Create properties in C# Property is used to read or write fields or attributes of a class. In our User class web have four fields id, username, firstName, lastName. Next we create properties for setting and getting the value of the property.    

 

Permanent link to this article: http://zappmania.in/2013/07/28/create-properties-in-c.htm