Aug 19

Check Leap Year C#-Example

Program to Check Leap Year

This C# Program Checks Whether the Entered Year is a Leap Year or Not.
When A year is divided by 4, If remainder is 0 then the year is called a leap year.
Below is a C# Program to Check Whether the Entered Year is a Leap Year or Not.

Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2016/08/19/check-leap-year-c-example.htm

Aug 18

Single Inheritance in C#-Example

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.
Read the rest of this entry »

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

Aug 18

Multilevel Inheritance in C#-Example

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.
Read the rest of this entry »

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

Aug 18

DateTime Formatting in C#

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 : Read the rest of this entry »

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

Apr 15

OOPs Top Interview Questions

Lets Refresh Fundamentals : Here are Top Basic Interview Questions for OOPs

1) What is Object Oriented Programming?

2) What is an Object?

3) What is a class?

4) Explain the basic features of OOPs ?

5) Explain the features of an Interface
Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2016/04/15/oops-top-interview-questions.htm

Older posts «

» Newer posts