Click here to Skip to main content
15,566,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Rob Philpott5-Feb-20 2:13
Rob Philpott5-Feb-20 2:13 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Rob Philpott5-Feb-20 1:40
Rob Philpott5-Feb-20 1:40 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 2:23
mvaOriginalGriff5-Feb-20 2:23 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Luc Pattyn5-Feb-20 9:54
sitebuilderLuc Pattyn5-Feb-20 9:54 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 10:08
mvaOriginalGriff5-Feb-20 10:08 
AnswerRe: Performance penalty of Debug.Assert in .NET Pin
jsc4210-Feb-20 5:13
professionaljsc4210-Feb-20 5:13 
QuestionHow do i get value from string Pin
SSI134-Feb-20 20:40
SSI134-Feb-20 20:40 
AnswerRe: How do i get value from string Pin
OriginalGriff4-Feb-20 21:02
mvaOriginalGriff4-Feb-20 21:02 
This is the same question as the one you posted two days ago, but with the addition of a Timer.Tick handler declaration - so the answer doesn't change from what you were told last time.

Do yourself a favour: start with the debugger and find out exactly what is in hmI7Segment1.TagName as it's not at all clear from that what you are working with. If it's a string "8835" then it's trivial: int.TryParse would do it. But if it's a string "Channel1.DV1.DB1.Level1" then everything I said before is still relevant.

We can't debug this for you - we don't have any access to your code while it's running, and it needs that.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

QuestionDecrease download speed in DownloadFileAsync Pin
Ayub Kokabi3-Feb-20 21:38
Ayub Kokabi3-Feb-20 21:38 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
Pete O'Hanlon3-Feb-20 21:58
mvaPete O'Hanlon3-Feb-20 21:58 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi4-Feb-20 4:38
Ayub Kokabi4-Feb-20 4:38 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
Gerry Schmitz4-Feb-20 4:18
mveGerry Schmitz4-Feb-20 4:18 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi4-Feb-20 7:07
Ayub Kokabi4-Feb-20 7:07 
AnswerRe: Decrease download speed in DownloadFileAsync Pin
MadMyche7-Feb-20 9:04
professionalMadMyche7-Feb-20 9:04 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi7-Feb-20 20:45
Ayub Kokabi7-Feb-20 20:45 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
MadMyche8-Feb-20 2:02
professionalMadMyche8-Feb-20 2:02 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi8-Feb-20 20:01
Ayub Kokabi8-Feb-20 20:01 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
Ayub Kokabi7-Feb-20 20:28
Ayub Kokabi7-Feb-20 20:28 
GeneralRe: Decrease download speed in DownloadFileAsync Pin
MadMyche8-Feb-20 2:10
professionalMadMyche8-Feb-20 2:10 
QuestionWhat is the difference between calling functions via thread and calling directly in c#? Pin
Member 134993233-Feb-20 17:43
Member 134993233-Feb-20 17:43 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
OriginalGriff3-Feb-20 21:50
mvaOriginalGriff3-Feb-20 21:50 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
Pete O'Hanlon3-Feb-20 22:11
mvaPete O'Hanlon3-Feb-20 22:11 
AnswerRe: What is the difference between calling functions via thread and calling directly in c#? Pin
Gerry Schmitz4-Feb-20 4:10
mveGerry Schmitz4-Feb-20 4:10 
QuestionError: "No exports were found that match the constraint" Pin
Kevin Marois3-Feb-20 10:49
professionalKevin Marois3-Feb-20 10:49 
AnswerRe: Error: "No exports were found that match the constraint" Pin
Eddy Vluggen3-Feb-20 11:46
professionalEddy Vluggen3-Feb-20 11:46 

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.