C# Expression
Edit
Introduction
The simplest C# expressions are literals (for example, integer and real numbers) and names of variables. It can be combined into complex expressions by using operators.An expression produces a result and can be included in another expression.
Example
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hello_World
{
class Program
{
public delegate void nameing(string name);
static public void Main()
{
int a, b, c;
a = 7;//Expression
b = a;//Expression
c = b ;//Expression
b = a b * c;//Expression
c = a >= 100 ? b : c / 10;//Expression
a = (int)Math.Sqrt(b * b c * c);//Expression
string s = "Rakesh Kumar Sutar";//Expression
char l = 'R';//Expression
Console.WriteLine("\n\n\t" a);
Console.WriteLine("\n\n\t" s);
Console.WriteLine("\n\n\t" l);
Console.ReadLine();
}
}
}