An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Hi fluffydogbite-5476,
Some tips to improve performance of C# code you can refer to:
- Choose your data type before using it.
- Use For loop instead of foreach.
- Choose when to use a class and when to use a structure.
- Always use Stringbuilder for String concatenation operations.
- Choose best way to assign class data member.
And you can get some links by Google search for More Effective C#.
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.