Click here to Skip to main content
15,889,858 members
Home / Discussions / C#
   

C#

 
Questionobject reference use else where : on application.run(new form1()) Pin
prog.sidra2-Jul-17 6:40
prog.sidra2-Jul-17 6:40 
AnswerRe: object reference use else where : on application.run(new form1()) Pin
Pete O'Hanlon2-Jul-17 7:12
mvePete O'Hanlon2-Jul-17 7:12 
AnswerRe: object reference use else where : on application.run(new form1()) Pin
Pete O'Hanlon2-Jul-17 22:42
mvePete O'Hanlon2-Jul-17 22:42 
QuestionCould not load file or assembly 'Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b9a188c8922137c6' Pin
jubayer1-Jul-17 23:33
jubayer1-Jul-17 23:33 
AnswerRe: Could not load file or assembly 'Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b9a188c8922137c6' Pin
Eddy Vluggen2-Jul-17 1:08
professionalEddy Vluggen2-Jul-17 1:08 
QuestionC# Color challenge Pin
BillWoodruff30-Jun-17 15:25
professionalBillWoodruff30-Jun-17 15:25 
AnswerRe: C# Color challenge Pin
Eddy Vluggen1-Jul-17 0:31
professionalEddy Vluggen1-Jul-17 0:31 
GeneralRe: C# Color challenge Pin
BillWoodruff2-Jul-17 14:53
professionalBillWoodruff2-Jul-17 14:53 
Eddy Vluggen wrote:
you are comparing that to an integer.
Nope ... only same types are compared. While both Integer and Color are structs, trying to compare them will make a compile-time error.
Eddy Vluggen wrote:
Hx would be a value-type, and I'd guess it would have to be something like a dword.
Well, yes it's a value-type, but, it's 'uint. For details on the hack you need to use to work around that, please see my response to Harold Aptroot below.
Eddy Vluggen wrote:
format-string syntax in the second example
[^] C# 6 string-interpolation has some very powerful facilities of particular interest if you need to deal with multiple languages/CultureInfo.

cheers, Bill
«Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.» Miss Piggy

GeneralRe: C# Color challenge Pin
Eddy Vluggen3-Jul-17 23:30
professionalEddy Vluggen3-Jul-17 23:30 
GeneralRe: C# Color challenge Pin
harold aptroot2-Jul-17 2:34
harold aptroot2-Jul-17 2:34 
GeneralRe: C# Color challenge Pin
BillWoodruff2-Jul-17 14:35
professionalBillWoodruff2-Jul-17 14:35 
GeneralRe: C# Color challenge Pin
harold aptroot2-Jul-17 15:07
harold aptroot2-Jul-17 15:07 
GeneralRe: C# Color challenge Pin
BillWoodruff2-Jul-17 19:21
professionalBillWoodruff2-Jul-17 19:21 
GeneralRe: C# Color challenge Pin
Richard Deeming3-Jul-17 1:35
mveRichard Deeming3-Jul-17 1:35 
GeneralRe: C# Color challenge Pin
BillWoodruff3-Jul-17 2:51
professionalBillWoodruff3-Jul-17 2:51 
Questionprinting an string data. Pin
rahul199529-Jun-17 20:21
rahul199529-Jun-17 20:21 
AnswerRe: printing an string data. Pin
OriginalGriff29-Jun-17 20:34
mveOriginalGriff29-Jun-17 20:34 
AnswerRe: printing an string data. Pin
Richard MacCutchan29-Jun-17 21:36
mveRichard MacCutchan29-Jun-17 21:36 
AnswerRe: printing an string data. Pin
bindumol L29-Jun-17 21:53
bindumol L29-Jun-17 21:53 
SuggestionRe: printing an string data. Pin
Richard MacCutchan29-Jun-17 23:07
mveRichard MacCutchan29-Jun-17 23:07 
Questionqr code printing. Pin
rahul199528-Jun-17 0:31
rahul199528-Jun-17 0:31 
AnswerRe: qr code printing. Pin
Pete O'Hanlon28-Jun-17 0:35
mvePete O'Hanlon28-Jun-17 0:35 
Questionhow we can adjust the size of qr code while printing? Pin
rahul199527-Jun-17 19:07
rahul199527-Jun-17 19:07 
AnswerRe: how we can adjust the size of qr code while printing? Pin
OriginalGriff27-Jun-17 19:51
mveOriginalGriff27-Jun-17 19:51 
QuestionHow to Check Data for data existence in database using C# Pin
Tej_dev27-Jun-17 8:23
Tej_dev27-Jun-17 8:23 

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.