- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Optimization Tips for C# Code
The following are the tips −
Use List whenever necessary. Working with ArrayList for the same work can make the working of code slower. This is specially if you are storing multiple types of objects within the same list.
Use multiplication-shift operation
Prefer multiplication-shift operation instead of division operator, since the usage of division operator slows the code.
Less code takes less memory
Try to get work done using operator to concise the code and make it work in a single line.
Use operators like && that would allow you to mention all the conditions in a single line.
- Optimization Tips for Python Code?
- Tips for securing online shopping
- Beginner Tips for Learning Python
- Top Tips for WhatsApp Marketing
- 5 tips for balcony gardening
- Unit Testing for C# Code
- Excel tips for the power users
- Tips for vlc media player lovers
- Simple Healthy Tips for Software Engineers
- Tips For Preparing MCSE Certification Exams
- What is Query Optimization?
- Essential Python Tips And Tricks For Programmers?
- Essential Java Tips and Tricks for Programmers
- Safety Tips for Making Secure Mobile Transactions
- What are some useful hygiene tips for infants?