Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: Match Two List Box By Sorting ... Pin
Luc Pattyn26-Nov-11 9:53
sitebuilderLuc Pattyn26-Nov-11 9:53 
GeneralRe: Match Two List Box By Sorting ... Pin
nassimnastaran26-Nov-11 10:22
nassimnastaran26-Nov-11 10:22 
GeneralRe: Match Two List Box By Sorting ... Pin
Luc Pattyn26-Nov-11 10:34
sitebuilderLuc Pattyn26-Nov-11 10:34 
GeneralRe: Match Two List Box By Sorting ... Pin
nassimnastaran26-Nov-11 10:43
nassimnastaran26-Nov-11 10:43 
AnswerRe: Match Two List Box By Sorting ... Pin
BillWoodruff26-Nov-11 19:55
professionalBillWoodruff26-Nov-11 19:55 
AnswerRe: Match Two List Box By Sorting ... Pin
DaveyM6926-Nov-11 22:48
professionalDaveyM6926-Nov-11 22:48 
GeneralRe: Match Two List Box By Sorting ... Pin
nassimnastaran27-Nov-11 7:59
nassimnastaran27-Nov-11 7:59 
Questionthread resume with out using sleep method Pin
somasekhara77726-Nov-11 6:11
somasekhara77726-Nov-11 6:11 
hi
i suspend a thread now i have to resume that thread but with out using sleep method the code is below

using System;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace threadsuspend
{
public class myclass
{
public void method()
{
for (int i = 1; i <= 10; i++)
{
Console.WriteLine(Thread.CurrentThread.Name + "=" + i);
if (i == 5)
{
Console.WriteLine(Thread.CurrentThread.Name +" is going to suspend");
Thread.CurrentThread.Suspend();

}
Thread.CurrentThread.Resume();
}
}
}
class Program
{
static void Main(string[] args)
{
myclass mc = new myclass();
Thread thr1 = new Thread(new ThreadStart(mc.method));
Thread thr2 = new Thread(new ThreadStart(mc.method));
thr1.Start();
thr2.Start();
thr1.Name = "ntr";
thr2.Name = "anr";
Console.ReadLine();
}
}
}

please help me out
thanks to you
j somasekhar

AnswerRe: thread resume with out using sleep method Pin
Mark Salsbery26-Nov-11 6:28
Mark Salsbery26-Nov-11 6:28 
AnswerRe: thread resume with out using sleep method Pin
Luc Pattyn26-Nov-11 6:30
sitebuilderLuc Pattyn26-Nov-11 6:30 
QuestionscrollBars Pin
FM726-Nov-11 5:25
FM726-Nov-11 5:25 
AnswerRe: scrollBars Pin
Luc Pattyn26-Nov-11 5:33
sitebuilderLuc Pattyn26-Nov-11 5:33 
GeneralRe: scrollBars Pin
FM726-Nov-11 6:07
FM726-Nov-11 6:07 
GeneralRe: scrollBars Pin
BillWoodruff26-Nov-11 18:52
professionalBillWoodruff26-Nov-11 18:52 
GeneralRe: scrollBars Pin
Luc Pattyn27-Nov-11 1:04
sitebuilderLuc Pattyn27-Nov-11 1:04 
AnswerRe: scrollBars Pin
Jitendra Parida - Jeetu30-Nov-11 19:01
Jitendra Parida - Jeetu30-Nov-11 19:01 
QuestionOriginal datarow value. Pin
paper6726-Nov-11 5:11
paper6726-Nov-11 5:11 
QuestionAutomation InternetExplorer, i am getting crazy! Pin
Laaky25-Nov-11 23:03
Laaky25-Nov-11 23:03 
Questionhelp me: problem with remoting Library Pin
kornkimhour25-Nov-11 21:34
kornkimhour25-Nov-11 21:34 
AnswerRe: help me: problem with remoting Library Pin
Richard MacCutchan25-Nov-11 22:27
mveRichard MacCutchan25-Nov-11 22:27 
GeneralRe: help me: problem with remoting Library Pin
kornkimhour26-Nov-11 3:05
kornkimhour26-Nov-11 3:05 
GeneralRe: help me: problem with remoting Library Pin
Richard MacCutchan26-Nov-11 3:57
mveRichard MacCutchan26-Nov-11 3:57 
Questionhelp me: Problem connection string object and class object when passing cross exe C# Pin
kornkimhour25-Nov-11 15:24
kornkimhour25-Nov-11 15:24 
Answercross post Pin
Not Active25-Nov-11 17:40
mentorNot Active25-Nov-11 17:40 
QuestionAdding Entity Framework 4.1 object to central database / key collisions Pin
Jfalconsfaner25-Nov-11 4:14
Jfalconsfaner25-Nov-11 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.