Hello everyone, I'm currently working on a C# project that processes a large dataset. While my code works correctly, it's running slower than expected, especially with bigger files. I'm looking for advice on optimizing the performance. Here’s a brief overview: -I'm reading data from a CSV file. -Processing involves several nested loops and string manipulations. -Writing results to a new file. I've tried using Parallel.For for the loops but it didn't improve much. I suspect the string operations might be the bottleneck. Does anyone have suggestions on more efficient data handling or alternative approaches for processing large datasets in C# ? Any tips on using memory more efficiently or reducing execution time would be greatly appreciated. Thank you in advance for your help. Best regards, Steve tensorflow
S
Steves Smith
@Steves Smith
Posts
-
Need Help with Optimizing My C# Code for Better Performance -
New Member Introduction and Query Posting Guidance NeededHello everyone, I am excited to join the CodeProject community. I am new here and eager to explore all the resources and discussions available. My main interests lie in software development and I am looking forward to learning from the vast expertise in this forum. Could someone guide me on how to post queries and participate effectively ? Specifically, I am interested in knowing the best places to ask questions and any tips for a smooth experience here. Thanks in advance for your help and I am looking forward to contributing and growing with this community. Best regards, Steve