April 19, 2024, 5:50 a.m. | Sukhpinder Singh

DEV Community dev.to

Learn to enhance your maintainability with generics and custom interfaces in C#. Discover a better approach on Day 29 of our 30-Day .NET Challenge.





Introduction


Developers often tend to add unnecessary boxing in the code which can hamper application performance. The article demonstrates both inefficient and efficient approaches to avoid the issue.





Learning Objectives



  • What is Boxing


  • Why non-generic interface approach is inefficient


  • A recommended approach using generics






Prerequisites for Developers



  • Basic understanding of C# programming language.


30 Day .Net …

application application performance article beginners can challenge code csharp developers discover dotnet introduction learn performance programming

Information Security Engineers

@ D. E. Shaw Research | New York City

Technology Security Analyst

@ Halton Region | Oakville, Ontario, Canada

Senior Cyber Security Analyst

@ Valley Water | San Jose, CA

Senior - Penetration Tester

@ Deloitte | Madrid, España

Associate Cyber Incident Responder

@ Highmark Health | PA, Working at Home - Pennsylvania

Senior Insider Threat Analyst

@ IT Concepts Inc. | Woodlawn, Maryland, United States