Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Accessing unmanaged class from C# Pin
Leif Simon Goodwin29-Mar-16 4:17
Leif Simon Goodwin29-Mar-16 4:17 
GeneralRe: Accessing unmanaged class from C# Pin
Richard MacCutchan29-Mar-16 4:32
mveRichard MacCutchan29-Mar-16 4:32 
GeneralRe: Accessing unmanaged class from C# Pin
Leif Simon Goodwin29-Mar-16 5:10
Leif Simon Goodwin29-Mar-16 5:10 
AnswerRe: Accessing unmanaged class from C# Pin
Garth J Lancaster29-Mar-16 1:47
professionalGarth J Lancaster29-Mar-16 1:47 
GeneralRe: Accessing unmanaged class from C# Pin
Leif Simon Goodwin29-Mar-16 1:49
Leif Simon Goodwin29-Mar-16 1:49 
AnswerReply # 2 Pin
Garth J Lancaster29-Mar-16 2:03
professionalGarth J Lancaster29-Mar-16 2:03 
AnswerRe: Accessing unmanaged class from C# Pin
Bernhard Hiller31-Mar-16 0:39
Bernhard Hiller31-Mar-16 0:39 
GeneralRe: Accessing unmanaged class from C# Pin
Leif Simon Goodwin3-Apr-16 21:16
Leif Simon Goodwin3-Apr-16 21:16 
QuestionHow to select Windows explorer's 'Sort by' type programmatically Pin
srikrishnathanthri28-Mar-16 23:32
srikrishnathanthri28-Mar-16 23:32 
AnswerRe: How to select Windows explorer's 'Sort by' type programmatically Pin
Garth J Lancaster29-Mar-16 0:05
professionalGarth J Lancaster29-Mar-16 0:05 
GeneralRe: How to select Windows explorer's 'Sort by' type programmatically Pin
srikrishnathanthri29-Mar-16 0:14
srikrishnathanthri29-Mar-16 0:14 
QuestionWPF and Unmanaged Liberaries Pin
AmbiguousName28-Mar-16 21:16
AmbiguousName28-Mar-16 21:16 
QuestionRe: WPF and Unmanaged Liberaries Pin
Richard MacCutchan28-Mar-16 21:51
mveRichard MacCutchan28-Mar-16 21:51 
AnswerRe: WPF and Unmanaged Liberaries Pin
Pete O'Hanlon28-Mar-16 21:55
mvePete O'Hanlon28-Mar-16 21:55 
QuestionValidate form with Ajaxoptions and unobtrusive in partial view Pin
Member 1204569228-Mar-16 9:17
Member 1204569228-Mar-16 9:17 
AnswerRe: Validate form with Ajaxoptions and unobtrusive in partial view Pin
Richard MacCutchan28-Mar-16 21:50
mveRichard MacCutchan28-Mar-16 21:50 
QuestionUsing C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774728-Mar-16 8:59
Member 1235774728-Mar-16 8:59 
AnswerRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Sascha Lefèvre28-Mar-16 9:24
professionalSascha Lefèvre28-Mar-16 9:24 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774728-Mar-16 9:54
Member 1235774728-Mar-16 9:54 
AnswerRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Ron Nicholson28-Mar-16 9:57
professionalRon Nicholson28-Mar-16 9:57 
I'd say that the queen can't get to any square that isn't at a 45 degree angle. Meaning any square that isn't on one of these angles 0, 45, 90, 135, 180, 225, or 270 from the current position. Assuming you want to bring some math into the calculation.

Edit: Not sure this is more efficient. I think I'd set up an 8x8 grid and flag where she can get. What is not flagged is where she can't get.
Jack of all trades, master of none, though often times better than master of one.

GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774728-Mar-16 11:51
Member 1235774728-Mar-16 11:51 
AnswerRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Patrice T28-Mar-16 10:50
mvePatrice T28-Mar-16 10:50 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774728-Mar-16 12:07
Member 1235774728-Mar-16 12:07 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Patrice T28-Mar-16 12:13
mvePatrice T28-Mar-16 12:13 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774728-Mar-16 13:34
Member 1235774728-Mar-16 13:34 

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.