Here goes sample:-
void MySample()
{
string sName = "NACL";
int iAge = 420;
Thread thread = new Thread(delegate()
{
MyTestMethod(sName,iAge);
});
thread.Start();
}
void MyTestMethod(string sName ,int iAge)
{
}
void MySample()
{
string sName = "NACL";
int iAge = 420;
Thread thread = new Thread(delegate()
{
MyTestMethod(sName,iAge);
});
thread.Start();
}
void MyTestMethod(string sName ,int iAge)
{
}
No comments:
Post a Comment