Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
QuestionAccessing members of an Enumeration one by one Pin
Ali Beirami7-Oct-05 19:40
Ali Beirami7-Oct-05 19:40 
AnswerRe: Accessing members of an Enumeration one by one Pin
S. Senthil Kumar7-Oct-05 20:26
S. Senthil Kumar7-Oct-05 20:26 
QuestionDrawing string in reverse color? Pin
Ali Beirami7-Oct-05 19:36
Ali Beirami7-Oct-05 19:36 
AnswerRe: Drawing string in reverse color? Pin
S. Senthil Kumar7-Oct-05 20:44
S. Senthil Kumar7-Oct-05 20:44 
QuestionTransparent proxy in C# Pin
Anonymous7-Oct-05 19:14
Anonymous7-Oct-05 19:14 
AnswerRe: Transparent proxy in C# Pin
M.A. Agheli7-Oct-05 22:44
M.A. Agheli7-Oct-05 22:44 
AnswerRe: Transparent proxy in C# Pin
leppie8-Oct-05 0:59
leppie8-Oct-05 0:59 
GeneralRe: Transparent proxy in C# Pin
M.A. Agheli8-Oct-05 1:07
M.A. Agheli8-Oct-05 1:07 
GeneralRe: Transparent proxy in C# Pin
Member 368719017-Jul-09 3:38
Member 368719017-Jul-09 3:38 
QuestionRandom numbers Pin
steveski747-Oct-05 18:13
steveski747-Oct-05 18:13 
AnswerRe: Random numbers Pin
steveski747-Oct-05 21:11
steveski747-Oct-05 21:11 
GeneralRe: Random numbers Pin
leppie8-Oct-05 1:03
leppie8-Oct-05 1:03 
Questionconvert image to icon Pin
Mridang Agarwalla7-Oct-05 17:43
Mridang Agarwalla7-Oct-05 17:43 
AnswerRe: convert image to icon Pin
steveski747-Oct-05 21:12
steveski747-Oct-05 21:12 
QuestionHow to return the result of a function in a thread? Pin
rushing7-Oct-05 15:24
rushing7-Oct-05 15:24 
AnswerRe: How to return the result of a function in a thread? Pin
S. Senthil Kumar7-Oct-05 20:50
S. Senthil Kumar7-Oct-05 20:50 
QuestionThe TcpClient is so slowly to create. Pin
rushing7-Oct-05 15:21
rushing7-Oct-05 15:21 
Questionc# 2.0 exam Pin
fmardani7-Oct-05 10:25
fmardani7-Oct-05 10:25 
AnswerRe: c# 2.0 exam Pin
enjoycrack7-Oct-05 10:37
enjoycrack7-Oct-05 10:37 
QuestionStatic Method Variables Pin
tsramkumar7-Oct-05 9:27
tsramkumar7-Oct-05 9:27 
AnswerRe: Static Method Variables Pin
Daniel Grunwald7-Oct-05 9:43
Daniel Grunwald7-Oct-05 9:43 
GeneralRe: Static Method Variables Pin
tsramkumar7-Oct-05 9:44
tsramkumar7-Oct-05 9:44 
AnswerRe: Static Method Variables Pin
S. Senthil Kumar7-Oct-05 20:56
S. Senthil Kumar7-Oct-05 20:56 
GeneralRe: Static Method Variables Pin
tsramkumar8-Oct-05 17:46
tsramkumar8-Oct-05 17:46 
AnswerRe: Static Method Variables Pin
Tom Larsen8-Oct-05 9:19
Tom Larsen8-Oct-05 9:19 
Anything static must be treated with care in a MT system. As you have guessed any thread could access it at any time causing wackiness to ensue. In general I would avoid any static members in objects that are going to be in an MT system. static methods aren't as toxic because any locals are stored on the stack of the thread but can be problematic if it access other things that have static members or worse members.

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.