Check out example codes for "c# ?". It will help you in understanding the concepts better.

Code Example 1

using System; 

namespace ExampleApp {
    class Example {
        static void Main(string[] args) {
            Console.WriteLine("Hello, world!");
        } 
    } 
}

Code Example 2

/* Answer to: "c#" */

/*
  C# is a general-purpose, multi-paradigm programming language
  encompassing strong typing, lexically scoped, imperative,
  declarative, functional, generic, object-oriented, and
  component-oriented programming disciplines.
*/

Code Example 3

using System;
using System.Windows.Forms;

class Program
{
    static void Main()
    {
        MessageBox.Show("Hello, World!");
        Console.WriteLine("Is almost the same argument!");
    }
}

Code Example 4

/*
	A nullable value type T? represents all values of its underlying
    value type T and an additional null value. For example, you can 
    assign any of the following three values to a bool? variable: 
    true, false, or null.
*/

double? pi = 3.14;
char? letter = 'a';

int m2 = 10;
int? m = m2;

bool? flag = null;

Code Example 5

using System;
using System.Drawing;

public class Example
{
    public static Image img;

    public static void Main()
    {
        img = Image.FromFile("Image.png");
    }
}

Learn ReactJs, React Native from akashmittal.com