The world of .NET development offers powerful collections like List, Dictionary, HashSet, and many other, but knowing when to use each can make or break your app’s performance. This session will walk you through the ins and outs of .NET collections, diving into their use cases, internal mechanics, and performance tips—empowering you to write efficient, scalable code with confidence.

00:00 | Introduction

01:01 | Overview of SSW Rewards App

01:32 | Anton’s Experience and .NET History

03:08 | Comparing Algorithms: Random Access Machine vs. Asymptotic Analysis

04:45 | Big O Notation Explained

06:18 | Common Algorithm Complexities: Constant, Linear, Quadratic

07:06 | Identifying Algorithm Complexity in Code

08:07 | Binary Search and Logarithmic Complexity

09:38 | Understanding .NET Collection Interfaces

11:43 | Arrays in .NET: Memory and Performance

13:41 | Performance Benchmarking: Row vs. Column Iteration in Arrays

17:16 | Multi-Dimensional Arrays and Memory Limitations

20:51 | Understanding Array Indexing in .NET

23:05 | Lists in .NET and Capacity Management

26:18 | Performance Impact of Capacity in Lists

28:57 | Array and List Performance: Key Takeaways

31:29 | Introduction to Queues in .NET

33:53 | Dictionary Internals: Hashing and Collisions

37:18 | Adding Elements and Handling Collisions in Dictionaries

44:00 | Advanced Topics: Concurrent Collections (Teased for Next Talk)

45:03 | Q&A Session and Conclusion



Links:
Need help?: https://ssw.com.au/ssw/Consulting

Follow us:
LinkedIn:   / ssw  
Twitter:   / ssw_tv  
Facebook:   / ssw.page  
Instagram:   / ssw_tv  
Tiktok:   / ssw_tv  

Get in touch:
Anton Polkonov – SSW Senior Software Engineer II
About: https://www.ssw.com.au/people/anton-polkanov/
LinkedIn: https://www.linkedin.com/in/anton-polkanov-504437128/

For more information about SSW’s consulting services, please visit https://ssw.com.au

#dotnet #dotnetcollections #algorithms #programming #netdevelopment #performance #bigonotation #ssw #sswrewards


V2 – Marcus

About the speakers

About the speakers

Anton Polkonov

Anton is a results-driven Senior Software Engineer at SSW with over 7 years of experience in professional software development. He has a proven track record of delivering high-quality solutions that meet the needs of both end-users and the business. Anton's expertise lies in designing and building robust software applications using cutting-edge approaches and techniques.

Anton is passionate about mobile development, specializing in the .NET platform and performance engineering. He stays updated on the latest advancements in technology to ensure he delivers solutions that are at the forefront of innovation. Additionally, Anton actively contributes to the tech community as the organizer of a competitive programming club in Newcastle.

Certified in Azure and proficient in .NET, Anton is well-equipped to tackle complex challenges and drive success in software development projects.

Related videos

Related videos

How to supercharge a company with AI | Ulysses Maclaren

Explore how AI is transforming businesses right now! In this video, Ulysses Maclaren from SSW walks us through the innovative ways AI is being used at Tina CMS. From automating customer interactions to analyzing vast amounts of data and even managing sales leads, AI is revolutionizing workflows

SSW FireBootCamp Journey to become a .NET developer (Story 2) | Jeoffrey Fischer & Isaac Lombard

Hear firsthand from SSW’s graduates about their learning journey with FireBootCamp.

Efficient Task Management with Microsoft Loop Tutorial | Tanya Leahy | SSW Rules

Discover how to streamline your task management with Microsoft Loop! In this video, Tanya Le, the Operations Coordinator at SSW, demonstrates how to create a shared, real-time workspace that you and your boss can edit together. Perfect for those unexpected calls from busy bosses. Learn step-by-step how to set up and use Microsoft Loop within Microsoft Teams, making it accessible anytime, anywhere. Don’t miss this essential productivity tip!

The importance of annual reviews for developers | Adam Cogan & Ulysses Maclaren | SSW Rules

Join SSW’s Chief Architect, Adam Cogan and SSW’s General Manager, Ulysses Maclaren as they discuss the importance of annual reviews for Software Developers, emphasizing the must-haves and the “icing on the cake”. Learn about key metrics, from billability to mentorship, and discover how to balance essential tasks with additional contributions to make the most out of your annual review.

SSW FireBootCamp Journey to become a .NET developer (Story 1) | Ella Smith & Josh Berman

Looking to get started into the software industry but struggling with the ‘experience required’ dilemma? Hear firsthand from SSW’s graduates about their learning journey with FireBootCamp, SSW’s internship program available in Australia, China and France. Discover how they gained valuable experience, learned essential soft skills, and thrived in a supportive environment alongside senior developers. Get inspired to level up your skills and jumpstart your career with FireBootCamp!

Talk before emailing – are you gold or silver? | Adam Cogan & Andrew Harris | SSW Rules

In this interview, SSW’s Chief Architect Adam Cogan sits down with SSW’s Solution Architect Andrew Harris to discuss the importance and evolution of the “As per our conversation” SSW Rule in email communication. They discuss the importance of confirming conversations, the challenges some face in following it, and the value it brings to any business communication. Join the conversation and share your insights in the comments!

Cloud Native Aspirations with .NET Aspire | Matt Wicks and Rob Pearson | SSW User Group

This session focuses on .NET Aspire’s capabilities and the multi-platform versatility of .NET 8.

Feature Management Simplified: A Deep Dive into Feature Boards | Matt Wicks & Lars Klint

Join SSW’s Solution Architect Matt Wicks as he dives into the world of feature management with Microsoft Azure MVP, Lars Klint, at NDC Sydney 2024. Explore the innovative approach of feature boards, shifting the responsibility from developers to product owners. Discover how feature toggling transcends the binary realm and adapts to dynamic audience segmentation. With insights into audience providers, SDK usage across multiple languages, and seamless integration into development pipelines, this conversation uncovers a new era of feature management.

Unlocking Domain-Driven Design: Exploring Contextive | Gert Marx & Chris Simon

In this video, join Gert Marx, SSW Solution Architect, as he interviews Chris Simon, Start up CTO Coach, about his open-source project, Contextive. Contextive is inspired by Domain-Driven Design (DDD) principles, particularly focusing on the ubiquitous language aspect. Chris explains how miscommunication between developers and users can lead to issues in software projects, and how Contextive aims to mitigate this by documenting domain terminology.

Navigating Coding, Deployments, and Legacy Projects | Matt Wicks & Ben Dechrai

Join SSW’s Solution Architect Matt Wicks in this interview with Developer Advocate, Ben Dechrai, at NDC Sydney. They explore the world of coding, deployments, and legacy projects as they discuss strategies for managing deployment debt, the importance of keeping infrastructure and code in sync, and navigating through legacy codebases. Learn practical tips for maintaining code cleanliness and optimizing readability, along with valuable insights on levering cognitive complexity to elevate code quality.