Click here to Skip to main content
15,440,341 members
Home / Discussions / C#
   

C#

 
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
mvaPete O'Hanlon28-Mar-16 21:55 
QuestionValidate form with Ajaxoptions and unobtrusive in partial view Pin
Member 1204569228-Mar-16 9:17
MemberMember 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
MemberMember 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
MemberMember 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
MemberMember 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
MemberMember 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
MemberMember 1235774728-Mar-16 13:34 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
OriginalGriff28-Mar-16 20:30
mveOriginalGriff28-Mar-16 20:30 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774730-Mar-16 3:03
MemberMember 1235774730-Mar-16 3:03 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
OriginalGriff30-Mar-16 3:13
mveOriginalGriff30-Mar-16 3:13 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
harold aptroot28-Mar-16 22:57
Memberharold aptroot28-Mar-16 22:57 
GeneralRe: Using C#: Squares on Chessboard a Queen can not move to. Pin
Member 1235774730-Mar-16 3:05
MemberMember 1235774730-Mar-16 3:05 
QuestionSession inside webmethod Pin
Sandy Safwat28-Mar-16 5:35
MemberSandy Safwat28-Mar-16 5:35 
QuestionRe: Session inside webmethod Pin
ZurdoDev28-Mar-16 7:35
professionalZurdoDev28-Mar-16 7:35 
PraiseAdd connetion properties Pin
Member 770765026-Mar-16 6:49
MemberMember 770765026-Mar-16 6:49 
GeneralRe: Add connetion properties Pin
Dave Kreskowiak26-Mar-16 7:48
mveDave Kreskowiak26-Mar-16 7:48 
GeneralRe: Add connetion properties Pin
Member 770765026-Mar-16 8:01
MemberMember 770765026-Mar-16 8:01 
GeneralRe: Add connetion properties Pin
Dave Kreskowiak26-Mar-16 8:44
mveDave Kreskowiak26-Mar-16 8:44 
QuestionHow to add Windows firewall exception without admin privileges Pin
srikrishnathanthri26-Mar-16 2:31
Membersrikrishnathanthri26-Mar-16 2:31 

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.