
Code Whisper
@codewhisperdev
👾 Anonymous engineer, sharing thoughts on code, tech & systems. 🚫 No face, just logic.
HTTP Headers you see more often.

💡HTTP Status Codes

.NET 9 introduces the new LINQ method CountBy. It allows for calculating the frequency of a key. This improvement looks nice. What do you think?

LINQ Tip: Use ToList() after filtering, not before. Why? 🔹 First version loads everything into memory before filtering 🔹 Second version filters at source, better for DB or large collections 🔹 Especially important when using EF Core or APIs with IQueryable #charp #dotnet

🔹 What is Queue<T>? Queue<T> is a First-In-First-Out (FIFO) collection in C#. It means the first item you add is the first one to be removed. When to use? - Task scheduling - Print jobs - Message handling - Breadth-first search (BFS) in graphs Example:

SQL Tip: Always monitor and maintain your indexes. Unused or duplicate indexes = slower writes and wasted space. Why? - Clean indexes = faster inserts/updates - Less I/O, better performance 🔍 Use this to find unused indexes in SQL Server

United States Xu hướng
- 1. Lakers 85.9K posts
- 2. Luka 66.2K posts
- 3. Ayton 14.1K posts
- 4. Marcus Smart 8,103 posts
- 5. Warriors 92.4K posts
- 6. Curry 39.1K posts
- 7. Rockets 58K posts
- 8. Shai 32.8K posts
- 9. #DWTS 47.5K posts
- 10. Sengun 24.7K posts
- 11. Draymond 7,869 posts
- 12. #DubNation 12.7K posts
- 13. Reaves 8,836 posts
- 14. Double OT 6,386 posts
- 15. Jimmy Butler 8,320 posts
- 16. #LakeShow 6,516 posts
- 17. Kuminga 9,476 posts
- 18. Reed Sheppard 6,497 posts
- 19. Vando 2,815 posts
- 20. Gabe Vincent 1,991 posts
Something went wrong.
Something went wrong.