Click here to Skip to main content
15,914,327 members
Home / Discussions / C#
   

C#

 
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 PinPopular
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
mvePete O'Hanlon11-Jan-18 10:45 
GeneralRe: C# HOW CAN I CENTER THE PICTUREBOX TO THE PARENT? Pin
Karl Henrry11-Jan-18 12:26
Karl Henrry11-Jan-18 12:26 
AnswerRe: C# HOW CAN I CENTER THE PICTUREBOX TO THE PARENT? Pin
OriginalGriff11-Jan-18 11:14
mveOriginalGriff11-Jan-18 11:14 
GeneralRe: C# HOW CAN I CENTER THE PICTUREBOX TO THE PARENT? Pin
Karl Henrry11-Jan-18 12:41
Karl Henrry11-Jan-18 12:41 
AnswerRe: C# How can I center the PictureBox to the Parent from code? ( Windows Forms ) Pin
User 740747011-Jan-18 13:52
User 740747011-Jan-18 13:52 
GeneralRe: C# How can I center the PictureBox to the Parent from code? ( Windows Forms ) Pin
Karl Henrry11-Jan-18 14:12
Karl Henrry11-Jan-18 14:12 
QuestionBest Temporary storage for DataGrid in C# Pin
Member 1359640810-Jan-18 13:17
Member 1359640810-Jan-18 13:17 
AnswerRe: Best Temporary storage for DataGrid in C# Pin
OriginalGriff10-Jan-18 19:51
mveOriginalGriff10-Jan-18 19:51 
AnswerRe: Best Temporary storage for DataGrid in C# Pin
Eddy Vluggen11-Jan-18 1:03
professionalEddy Vluggen11-Jan-18 1:03 
Questionc# Introduction Pin
ormonds10-Jan-18 10:39
ormonds10-Jan-18 10:39 
AnswerRe: c# Introduction Pin
OriginalGriff10-Jan-18 19:49
mveOriginalGriff10-Jan-18 19:49 
GeneralRe: c# Introduction Pin
ormonds10-Jan-18 23:14
ormonds10-Jan-18 23:14 
GeneralRe: c# Introduction Pin
OriginalGriff10-Jan-18 23:25
mveOriginalGriff10-Jan-18 23:25 
AnswerRe: c# Introduction Pin
Richard MacCutchan10-Jan-18 22:28
mveRichard MacCutchan10-Jan-18 22:28 
GeneralRe: c# Introduction Pin
ormonds10-Jan-18 23:14
ormonds10-Jan-18 23:14 
QuestionHow to compare string data by value and by reference Pin
Mou_kol8-Jan-18 20:59
Mou_kol8-Jan-18 20:59 
AnswerRe: How to compare string data by value and by reference Pin
OriginalGriff8-Jan-18 21:24
mveOriginalGriff8-Jan-18 21:24 
AnswerRe: How to compare string data by value and by reference Pin
Bernhard Hiller9-Jan-18 21:41
Bernhard Hiller9-Jan-18 21:41 
With strings, there is another fact to consider. When the compiler can detect that they have the same value, the compiler will make sure that they have the same reference also. It can do that optimization because strings are immutable.

In the example given by OriginalGriff, the compiler did not detect that and thus the compiler created two different references.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!

GeneralRe: How to compare string data by value and by reference Pin
OriginalGriff10-Jan-18 0:38
mveOriginalGriff10-Jan-18 0:38 

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.