Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# programing Pin
Gerry Schmitz9-Dec-20 5:48
mveGerry Schmitz9-Dec-20 5:48 
AnswerRe: c# programing Pin
Pete O'Hanlon9-Dec-20 21:52
mvePete O'Hanlon9-Dec-20 21:52 
QuestionSend GMail Pin
Kevin Marois7-Dec-20 16:41
professionalKevin Marois7-Dec-20 16:41 
AnswerRe: Send GMail Pin
OriginalGriff7-Dec-20 21:04
mveOriginalGriff7-Dec-20 21:04 
AnswerRe: Send GMail Pin
Richard Deeming7-Dec-20 21:55
mveRichard Deeming7-Dec-20 21:55 
Questionc# language issue: when you need to serialize/deserialize a user defined Func/Action Pin
BillWoodruff7-Dec-20 2:40
professionalBillWoodruff7-Dec-20 2:40 
QuestionPlatform dependency of thread management Pin
Bernhard Hiller6-Dec-20 23:30
Bernhard Hiller6-Dec-20 23:30 
AnswerRe: Platform dependency of thread management Pin
Dave Kreskowiak7-Dec-20 3:59
mveDave Kreskowiak7-Dec-20 3:59 
Worse yet, Thread.Sleep doesn't even guarantee that the thread will actually give up its time slice. If there are no other threads ready to run at the same priority, your Thread is not suspended.

T minimum time a Thread can "sleep" is dependent on the system timer and its resolution. The timer is dependent on hardware and O/S implementation. From the Sleep function[^] in the Win32 documentation:

Quote:
The system clock "ticks" at a constant rate. If dwMilliseconds is less than the resolution of the system clock, the thread may sleep for less than the specified length of time. If dwMilliseconds is greater than one tick but less than two, the wait can be anywhere between one and two ticks, and so on. To increase the accuracy of the sleep interval, call the timeGetDevCaps function to determine the supported minimum timer resolution and the timeBeginPeriod function to set the timer resolution to its minimum. Use caution when calling timeBeginPeriod, as frequent calls can significantly affect the system clock, system power usage, and the scheduler. If you call timeBeginPeriod, call it one time early in the application and be sure to call the timeEndPeriod function at the very end of the application.


QuestionC# NET. Framework program (area 2x) Pin
Member 150126775-Dec-20 23:49
Member 150126775-Dec-20 23:49 
AnswerRe: C# NET. Framework program (area 2x) Pin
Richard MacCutchan6-Dec-20 1:28
mveRichard MacCutchan6-Dec-20 1:28 
AnswerRe: C# NET. Framework program (area 2x) Pin
BillWoodruff7-Dec-20 7:07
professionalBillWoodruff7-Dec-20 7:07 
QuestionDecimal numbers in NET. Framework Pin
Member 150126775-Dec-20 2:48
Member 150126775-Dec-20 2:48 
AnswerRe: Decimal numbers in NET. Framework Pin
OriginalGriff5-Dec-20 2:53
mveOriginalGriff5-Dec-20 2:53 
QuestionC# NET. Framework program Pin
Member 150126775-Dec-20 0:59
Member 150126775-Dec-20 0:59 
AnswerRe: C# NET. Framework program Pin
OriginalGriff5-Dec-20 1:17
mveOriginalGriff5-Dec-20 1:17 
GeneralRe: C# NET. Framework program Pin
Member 150126775-Dec-20 1:26
Member 150126775-Dec-20 1:26 
GeneralRe: C# NET. Framework program Pin
Ralf Meier5-Dec-20 1:31
mveRalf Meier5-Dec-20 1:31 
GeneralRe: C# NET. Framework program Pin
Member 150126775-Dec-20 1:33
Member 150126775-Dec-20 1:33 
GeneralRe: C# NET. Framework program Pin
OriginalGriff5-Dec-20 1:41
mveOriginalGriff5-Dec-20 1:41 
GeneralRe: C# NET. Framework program Pin
OriginalGriff5-Dec-20 1:37
mveOriginalGriff5-Dec-20 1:37 
QuestionHow to capture and print panel content into .pdf Pin
RedPandinus3-Dec-20 11:25
RedPandinus3-Dec-20 11:25 
AnswerRe: How to capture and print panel content into .pdf Pin
Sandeep Mewara3-Dec-20 17:33
mveSandeep Mewara3-Dec-20 17:33 
GeneralRe: How to capture and print panel content into .pdf Pin
RedPandinus4-Dec-20 2:01
RedPandinus4-Dec-20 2:01 
QuestionHow to call function after timer Pin
Member 141922163-Dec-20 8:07
Member 141922163-Dec-20 8:07 
AnswerRe: How to call function after timer Pin
OriginalGriff3-Dec-20 8:20
mveOriginalGriff3-Dec-20 8:20 

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.