.NET : Quiz Application

In this tutorial we are developing a "simple quiz application" using C# and .NET. In this tutorial we have taken 5 windows forms namely Form1,Form2,Form3,Form4 and Result for

Basic Concepts of OOP #2






















In our previous lesson we took a look at OOPS - Object Oriented Programming Concepts and we specifically reviewed the process of Data Abstraction and plus we also took the look at Data Encapsulation aka Data Hiding. Today in this lesson we took a look at other OOPS concepts such as Modularity, Inheritance and Polymorphism. So let's get started!!

Basic Concepts of OOP #1























Today, in this post we are going to discuss about some basic concepts of OOPS. Now, let's get started!!

The OOP approach is based on certain concepts that help in attain its goal of overcoming the drawbacks of conventional programming approaches. These general concepts

PHP : Two simple memory allocation in an Array

Hello everyone, today I would like to show you two different ways to display memory allocation of array elements. First, way is to use "var_dump" and

PHP : Two simple ways to print your "Hello World!"

Hello everyone, today I would like to show you two different ways to print your "Hello World!" string on screen. First, way is to use "echo" and second

C# : Inheritance

In object-oriented programing (OOP) inheritance is a feature that represents the "is a" relationship between different classes. Inheritance allows a class to

C#: Program for student's report and book report.

In this C# tutorial we are  "developing a simple program to display student's report and book report using classes" . In this program we have taken three classes i.e student, book and prg as you see in line 3, 32 and 70 respectively. Also, class student is for student's report, class book is for books report and class prg is our main class to call both classes student and book.

10 Free Educational Apps you really love

Exams going on?? But don't know how to manage your time, solve short questions in just few seconds. Infact, those heavy books also don't help
C#: Linear Searching using Arrays

C#: Linear Searching using Arrays

In this C# tutorial we are  "developing a simple program which accepts number entered by the user and displays result if it is found in a single dimensional array" . Here we are taking variable "num" for number entered by the user and "arr" for initializing our array with five elements respectively. It asks user to enter a number , if the element found then it displays message "element found!!". For this we are using for loop here. Also you see in line 11 we have taken variable flag and initialized it with 0. If element is found then flag will be updated to 1, if its not then it will remain 0 as you see in line 47. Now, lets get started!!
C#: A Simple Calculator

C#: A Simple Calculator

In this C# tutorial we are  "developing a simple calculator" . Here we are taking five variables "n1" for number one ,"n2" for number two, "ch" for choice, "res" of float type for result and "ch1" of char type for choice "Yes" respectively. For this we are using do-while loop here. Now, lets get started!!

C#: Variables and Primitive Data Types

Hello readers, most of you are familiar about variables and data types, we all deal with variables and data types in most of the programming languages,
C#: Program to calculate area and perimeter of a rectangle

C#: Program to calculate area and perimeter of a rectangle

In this C# tutorial we "calculate area and perimeter of a rectangle" . Here we are taking four variables "l" for length ,"b" for breadth, "ar" for area and "p" for perimeter of rectangle respectively. Now, lets get started!!
C#: Program to calculate area and perimeter of a circle

C#: Program to calculate area and perimeter of a circle

In this C# tutorial we "calculate area and perimeter of a circle" . Here we are taking four variables "r" for radius ,we assign our constant variable "pi" to 3.14, "ar" for area and "p" for perimeter of circle respectively. Now, lets get started!!
Java: Program to Input Country Name And Print Capital

Java: Program to Input Country Name And Print Capital

In this java tutorial we'll be "creating a java program which accepts a country name and prints its capital" .I'll be using arrays in this tutorials if you are unfamiliar with array head over to this tutorial. Now lets get started!!
C#: Program to check whether entered number is Armstrong Number or not

C#: Program to check whether entered number is Armstrong Number or not

In this C# tutorial we "check whether the entered number is Armstrong Number or not" . Here we are taking three variables "n" for number ,"rem" for remainder and "sum" for sum of digits respectively. Now, lets get started!!
C# : Program to calculate square root of any number

C# : Program to calculate square root of any number

In this C# tutorial we "calculate square root of any number entered by the user" . For this here we are taking two variables "sq" for square root and "n" for number entered by the user respectively. Also here we are using "Math.Sqrt" method which is used to find square root of a number at runtime.  Now, lets get started!!
C# : Program to find Compound Interest

C# : Program to find Compound Interest

In this C# tutorial we "Find Compound Interest using Principle, Rate and Time" . For this here we are taking four variables "p" for principle ,"r" for rate, "t" for time and "ci" for our compound interest respectively. Also here we are using "Math.Pow" method which takes the powers of numbers such as by squaring values.  Now, lets get started!!