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

C#

 
AnswerRe: regex Pin
Kenneth Haugland14-Nov-17 2:09
mvaKenneth Haugland14-Nov-17 2:09 
GeneralRe: regex Pin
BillWoodruff14-Nov-17 14:43
mveBillWoodruff14-Nov-17 14:43 
GeneralRe: regex Pin
Richard Deeming16-Nov-17 7:51
mveRichard Deeming16-Nov-17 7:51 
QuestionBest machine learning AI library to assess multiple inputs with different weights (non-linear) ? Pin
Member 978298312-Nov-17 23:06
MemberMember 978298312-Nov-17 23:06 
AnswerRe: Best machine learning AI library to assess multiple inputs with different weights (non-linear) ? Pin
Gerry Schmitz13-Nov-17 4:44
mveGerry Schmitz13-Nov-17 4:44 
GeneralRe: Best machine learning AI library to assess multiple inputs with different weights (non-linear) ? Pin
Member 978298313-Nov-17 4:59
MemberMember 978298313-Nov-17 4:59 
GeneralRe: Best machine learning AI library to assess multiple inputs with different weights (non-linear) ? Pin
Gerry Schmitz13-Nov-17 5:01
mveGerry Schmitz13-Nov-17 5:01 
Questioncan't find the source of Collection was Modified Exception Pin
Alexander Kindel11-Nov-17 19:46
MemberAlexander Kindel11-Nov-17 19:46 
Unfortunately, it doesn't seem practical to link anything less than my whole program to solve this issue: Solver[^] If I'm wrong about that, I'd be happy to hear how in addition to the answer to the question itself so I can ask more manageable questions in the future.

The bug occurs for the text input "32^(1/5)", without quotes, somewhere during the fourth execution for the foreach loop on line 635. The four pairs of lines that print when the program is executed with this input are the WriteLine() calls on lines 639 and 642. I added those calls in the hope of seeing how the collection in question differs before and after line 640 executes, but evidently, whatever the alteration is is not revealed by the ToString() override of its element. I don't know what kind of alteration this could be.

The multiply() override called by the * in line 640 at this point - the one on line 611 in the Product class - does touch the contents of Factors, but only once, on line 617:
List<Factor> factors = new List<Factor>(Factors);

I thought that this makes factors a copy of Factors rather than another reference to the same object, so that making changes to the former doesn't affect the latter.
AnswerRe: can't find the source of Collection was Modified Exception Pin
OriginalGriff11-Nov-17 20:10
mveOriginalGriff11-Nov-17 20:10 
GeneralRe: can't find the source of Collection was Modified Exception Pin
Alexander Kindel11-Nov-17 20:14
MemberAlexander Kindel11-Nov-17 20:14 
GeneralRe: can't find the source of Collection was Modified Exception Pin
OriginalGriff11-Nov-17 20:23
mveOriginalGriff11-Nov-17 20:23 
QuestionHow to simplify my code? Pin
Member 1347915010-Nov-17 12:09
MemberMember 1347915010-Nov-17 12:09 
AnswerRe: How to simplify my code? Pin
Afzaal Ahmad Zeeshan10-Nov-17 12:26
mveAfzaal Ahmad Zeeshan10-Nov-17 12:26 
QuestionUnhandled Argument Exception error in System.Drawing.dll Pin
zs6msd8-Nov-17 0:05
Memberzs6msd8-Nov-17 0:05 
AnswerRe: Unhandled Argument Exception error in System.Drawing.dll Pin
OriginalGriff8-Nov-17 0:28
mveOriginalGriff8-Nov-17 0:28 
Questionlibrary for connecting oracle from c#form Pin
Member 135093657-Nov-17 20:04
MemberMember 135093657-Nov-17 20:04 
AnswerRe: library for connecting oracle from c#form Pin
Pete O'Hanlon7-Nov-17 21:34
mvaPete O'Hanlon7-Nov-17 21:34 
GeneralRe: library for connecting oracle from c#form Pin
Member 135093658-Nov-17 21:26
MemberMember 135093658-Nov-17 21:26 
GeneralRe: library for connecting oracle from c#form Pin
Member 135093658-Nov-17 21:26
MemberMember 135093658-Nov-17 21:26 
AnswerRe: library for connecting oracle from c#form Pin
Mycroft Holmes8-Nov-17 14:18
professionalMycroft Holmes8-Nov-17 14:18 
QuestionGetting Data from web : C# failed while Excel works Pin
PozzaVecia5-Nov-17 9:06
MemberPozzaVecia5-Nov-17 9:06 
AnswerRe: Getting Data from web : C# failed while Excel works Pin
PozzaVecia5-Nov-17 9:19
MemberPozzaVecia5-Nov-17 9:19 
QuestionWrite audio to USB Modem via COM Port Pin
ManojKumarShah20174-Nov-17 22:45
MemberManojKumarShah20174-Nov-17 22:45 
QuestionRe: Write audio to USB Modem via COM Port Pin
Eddy Vluggen4-Nov-17 23:34
professionalEddy Vluggen4-Nov-17 23:34 
AnswerRe: Write audio to USB Modem via COM Port Pin
OriginalGriff4-Nov-17 23:35
mveOriginalGriff4-Nov-17 23:35 

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.