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.

31 July 2011

Reverse of a string or number in console apps

›
class Reverseofno     {         public static void Main()         {             Console.WriteLine("enter a no/string: ");         ...

Interface overriding in console apps

›
interface Interface {       void add(int x, int y); } class overrideinterface : Interface {       public void add(int a, int b)       {     ...

Virtual class overriding

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

Abstract Overriding in console apps

›
abstract class Abstract {       public abstract void mul(int x);       public void add(int x, int y)       {           Console.WriteLine(...

Prime No. in console apps

›
class Prime     {         static void Main(string[] args)         {             int j = 0;             int count = 0;             Console.Wr...

Constructor OverLoading in Console apps

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

Method OverLoading in console apps

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

Operator OverLoading in console apps

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

Reverse of a string or number in console apps

›
class Reverseofno     {         public static void Main()         {             Console.WriteLine("enter a no/string: ");   ...

Interface overriding in console apps

›
interface Interface     {         void add(int x, int y);     }     class overrideinterface : Interface     {         public void add...

Abstract Overriding in console apps

›
abstract class Abstract     {         public abstract void mul(int x);         public void add(int x, int y)         {             Con...

Virtual class overriding

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

Prime No. in console apps

›
class Prime     {         static void Main(string[] args)         {             int j = 0;             int count = 0;             Con...

Constructor OverLoading in Console apps

›
class CACOverLoading     {         int x;         public CACOverLoading()         {             Console.WriteLine("Default constr...

Method OverLoading in console apps

›
class mOverLoading     {         int x=10;         public void show()         {             Console.WriteLine("default constructo...
‹
›
Home
View web version

DotnetBySatya About

satyabhaviri
View my complete profile
Powered by Blogger.