0
C# simple console application
Below is the simple console application written in C#
using System;
public class Hello
{
public static void Main (string[] args)
{
Console.WriteLine(“Hello tutorialz.tk”);
}
}
using System; “System” is...
C# made calculator easy
Below program show a simple calculator with simple definitions………..
using System;public class Calculator
{
public int Add(int value1, int value2)
{
return value1 + value2;
}public int Subtract(int value1, int value2)
{
return...
C# VS Java
C# VS Java
C# and Java are both new-generation languages descended from a line including C and C++. Each includes advanced features, like garbage collection, which remove some of the low level maintenance tasks from the programmer. In a lot...
C# pointer Operations
Pointer Notation
A pointer is a variable that holds the memory address of another type. In C#, pointers can only be declared to hold the memory addresses of value types (except in the case of arrays – see below).
Pointers are declared...
Overloading & Overriding In C#
Overloading
Means you have more then one funcitons with same name but with different signtures in the same class.
string Add(string a, string b);
int Add(int a, int b);
Overriding
overriding.
The base class method is override by the derived...
Page 1 of 11
