Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert a query to lambda based Pin
OriginalGriff24-Jan-18 0:44
mveOriginalGriff24-Jan-18 0:44 
AnswerRe: How to convert a query to lambda based Pin
Richard Deeming16-Jan-18 3:03
mveRichard Deeming16-Jan-18 3:03 
GeneralRe: How to convert a query to lambda based Pin
Mou_kol16-Jan-18 3:50
Mou_kol16-Jan-18 3:50 
GeneralRe: How to convert a query to lambda based Pin
Mou_kol24-Jan-18 0:35
Mou_kol24-Jan-18 0:35 
Questioncontour plot in visual studio Pin
Member 1362407415-Jan-18 6:27
Member 1362407415-Jan-18 6:27 
AnswerRe: contour plot in visual studio Pin
Richard MacCutchan15-Jan-18 7:15
mveRichard MacCutchan15-Jan-18 7:15 
QuestionI got the error that: Not all code paths return a value Pin
irisemars15-Jan-18 2:15
irisemars15-Jan-18 2:15 
AnswerRe: I got the error that: Not all code paths return a value Pin
Jochen Arndt15-Jan-18 2:22
professionalJochen Arndt15-Jan-18 2:22 
Use the line number to identify the function where the error occured and check the code of that function.

I don't want to count lines and your posted code might be out of sync, but the RoomCollides function does not return a value on all pathes:
C#
bool RoomCollides(DRoom r)
{
    foreach (DRoom r2 in rooms)
    {
        if(r.CollidesWith(r2))
        {
            return true;
        }
    }
    // No return statement here. Should be probably
    //return false;
}

AnswerRe: I got the error that: Not all code paths return a value Pin
OriginalGriff15-Jan-18 4:10
mveOriginalGriff15-Jan-18 4:10 
QuestionSpeech recognition: Unable to LoadGrammar and no installed recognizer Pin
Mc_Topaz13-Jan-18 3:35
Mc_Topaz13-Jan-18 3:35 
QuestionSelect data from MSSQL database and insert into oracle database Pin
Member 1346617612-Jan-18 2:51
Member 1346617612-Jan-18 2:51 
AnswerRe: Select data from MSSQL database and insert into oracle database Pin
Richard MacCutchan12-Jan-18 3:11
mveRichard MacCutchan12-Jan-18 3:11 
AnswerRe: Select data from MSSQL database and insert into oracle database Pin
Richard Deeming12-Jan-18 3:13
mveRichard Deeming12-Jan-18 3:13 
GeneralRe: Select data from MSSQL database and insert into oracle database Pin
Member 1346617612-Jan-18 3:36
Member 1346617612-Jan-18 3:36 
GeneralRe: Select data from MSSQL database and insert into oracle database Pin
Richard Deeming12-Jan-18 3:45
mveRichard Deeming12-Jan-18 3:45 
GeneralRe: Select data from MSSQL database and insert into oracle database Pin
Member 1346617612-Jan-18 4:01
Member 1346617612-Jan-18 4:01 
QuestionSystem.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Member 1058555811-Jan-18 11:19
Member 1058555811-Jan-18 11:19 
AnswerRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
OriginalGriff11-Jan-18 11:25
mveOriginalGriff11-Jan-18 11:25 
AnswerRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Bernhard Hiller11-Jan-18 21:35
Bernhard Hiller11-Jan-18 21:35 
GeneralRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Member 1058555812-Jan-18 3:19
Member 1058555812-Jan-18 3:19 
AnswerRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Luc Pattyn12-Jan-18 5:16
sitebuilderLuc Pattyn12-Jan-18 5:16 
GeneralRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Member 1058555812-Jan-18 6:31
Member 1058555812-Jan-18 6:31 
GeneralRe: System.IO.IOException: 'The I/O operation has been aborted because of either a thread exit or an application request Pin
Luc Pattyn12-Jan-18 6:46
sitebuilderLuc Pattyn12-Jan-18 6:46 
QuestionC# How can I center the PictureBox to the Parent from code? ( Windows Forms ) Pin
Karl Henrry11-Jan-18 10:27
Karl Henrry11-Jan-18 10:27 
AnswerRe: C# HOW CAN I CENTER THE PICTUREBOX TO THE PARENT? Pin
Pete O'Hanlon11-Jan-18 10:45
subeditorPete O'Hanlon11-Jan-18 10:45 

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.