21
1
using System.Threading;
2
using System;
3
namespace ThreadingDemo
4
{
5
public class Program
6
{
7
public static void Main(string[] args)
8
{
9
ThreadStart oThreadStart = new ThreadStart(DisplayCount1);
10
Thread t1 = new Thread(oThreadStart);
11
t1.Start();
12
}
13
public static void DisplayCount1()
14
{
15
for (int i = 1; i <= 10; i++)
16
{
17
Console.WriteLine("DisplayCount1 :" + i);
18
}
19
}
20
}
21
}
Cached Result
Error Message:-This is Custom Exception example in C#
Hyper Link :-Visit to qawithexperts.com for more information
Source :- This is source of Error
Hyper Link :-Visit to qawithexperts.com for more information
Source :- This is source of Error