Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
AnswerRe: UI hangs on Invoke(?) Pin
fred_17-Mar-09 10:06
fred_17-Mar-09 10:06 
AnswerRe: UI hangs on Invoke(?) Pin
fred_17-Mar-09 10:06
fred_17-Mar-09 10:06 
GeneralRe: UI hangs on Invoke(?) Pin
jondaeh17-Mar-09 10:51
jondaeh17-Mar-09 10:51 
GeneralRe: UI hangs on Invoke(?) Pin
Natza Mitzi17-Mar-09 10:16
Natza Mitzi17-Mar-09 10:16 
QuestionRe: UI hangs on Invoke(?) Pin
jondaeh17-Mar-09 11:09
jondaeh17-Mar-09 11:09 
AnswerRe: UI hangs on Invoke(?) Pin
Luc Pattyn17-Mar-09 14:52
sitebuilderLuc Pattyn17-Mar-09 14:52 
GeneralRe: UI hangs on Invoke(?) Pin
jondaeh17-Mar-09 22:55
jondaeh17-Mar-09 22:55 
GeneralRe: UI hangs on Invoke(?) Pin
Luc Pattyn18-Mar-09 1:24
sitebuilderLuc Pattyn18-Mar-09 1:24 
Hi Jon,

1.
jondaeh wrote:
I know that the loop I had written


your code did NOT have a loop at all, it had "recursion", i.e. a method calling itself, and an infinite recursion since there was no way to get out of it (compare with the typical example of calculating x factorial with recursion). Every method call takes a number of bytes of stack space; google and read up on "stack".

3.
jondaeh wrote:
lock(line){"do something with line"}


one uses a lock to protect some data from being manipulated by two or more threads at the same time, when there is a danger of an inconsistent state (half of the data being written by one, then all of the inconsistent data being read by the others). The object on which the lock applies may or may not be the data to be protected, it all depends.


jondaeh wrote:
Sorry being so curious


No problem. Being eager to learn can't be bad. Buy some books and study them, that is the best way to learn languages and technologies. And don't forget to read some CodeProject articles, choose from those with a high score!

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


QuestionLotus Notes Pin
lokesh143.surana17-Mar-09 9:02
lokesh143.surana17-Mar-09 9:02 
AnswerRe: Lotus Notes Pin
Dan Neely17-Mar-09 9:44
Dan Neely17-Mar-09 9:44 
GeneralRe: Lotus Notes Pin
dan!sh 17-Mar-09 10:36
professional dan!sh 17-Mar-09 10:36 
GeneralRe: Lotus Notes Pin
Dan Neely17-Mar-09 11:07
Dan Neely17-Mar-09 11:07 
GeneralRe: Lotus Notes Pin
dan!sh 17-Mar-09 19:45
professional dan!sh 17-Mar-09 19:45 
GeneralRe: Lotus Notes Pin
Vikram A Punathambekar17-Mar-09 20:40
Vikram A Punathambekar17-Mar-09 20:40 
QuestionNewbie Question Pin
kruegersck17-Mar-09 7:57
kruegersck17-Mar-09 7:57 
AnswerRe: Newbie Question Pin
DaveyM6917-Mar-09 8:29
professionalDaveyM6917-Mar-09 8:29 
AnswerRe: Newbie Question Pin
Natza Mitzi17-Mar-09 10:25
Natza Mitzi17-Mar-09 10:25 
Questionaccessing members without reflection. Pin
Member 232448317-Mar-09 7:50
Member 232448317-Mar-09 7:50 
AnswerRe: accessing members without reflection. Pin
0x3c017-Mar-09 8:03
0x3c017-Mar-09 8:03 
GeneralRe: accessing members without reflection. Pin
Member 232448317-Mar-09 8:19
Member 232448317-Mar-09 8:19 
AnswerRe: accessing members without reflection. [modified] Pin
Mbah Dhaim17-Mar-09 9:15
Mbah Dhaim17-Mar-09 9:15 
GeneralRe: accessing members without reflection. Pin
Member 232448317-Mar-09 9:44
Member 232448317-Mar-09 9:44 
GeneralRe: accessing members without reflection. Pin
Natza Mitzi17-Mar-09 10:31
Natza Mitzi17-Mar-09 10:31 
QuestionC# DLL Events Catching. Pin
Navneet Hegde17-Mar-09 6:00
Navneet Hegde17-Mar-09 6:00 
AnswerRe: C# DLL Events Catching. [modified] Pin
fly90417-Mar-09 6:14
fly90417-Mar-09 6: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.