DotNet By Satya

Blog that contains articles about new technologies related or not with programming. I will describe and solves some problems that I encounter in my career. ASP .NET, AJAX, Javascript, C++, C# and SQL are some of the subjects that will appear.

Showing posts with label polymorphism. Show all posts
Showing posts with label polymorphism. Show all posts
19 September 2011

Operator OverLoading in console apps

›
class ClsComplex { int R, I; public ClsComplex(int R, int I) { this.R = R; this.I = I; ...

Method OverLoading in console apps

›
class mOverLoading { int x=10; public void show() { Console.WriteLine("default constructor...

Constructor OverLoading in Console apps

›
class CACOverLoading { int x; public CACOverLoading() { Console.WriteLine("Default constructor"); x = 123; } public CACOverLoading...

Virtual class overriding

›
class Virtual { public virtual void add(int a, int b) { Console.WriteLine(a + b); } } class ...

Abstract overriding in console apps

›
abstract class Abstract { public abstract void mul(int x); public void add(int x, int y) { Console.WriteLine("add is: "+(x + y)); ...
›
Home
View web version

DotnetBySatya About

satyabhaviri
View my complete profile
Powered by Blogger.