Member-only story

Featured

100 Expert C# Tips to Boost Your Coding Skills

Sukhpinder Singh | C# .Net
.Net Programming
Published in
13 min read4 days ago
Created by Author using Canva

1. Embrace Primary Constructors

public class Person(string name, int age)  
{
public string Name { get; } = name;
public int Age { get; } = age;
}

2. Use Collection Expressions

List<int> numbers = [1, 2, 3, 4, 5];

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

.Net Programming
.Net Programming

Published in .Net Programming

Explore the .Net with the latest in C# from basic to advanced, including .Net versions 9, 8, 6, 5, Core 3.1, .Net Framework, ASP.NET Core, MVC, design patterns, OOPS, and SOLID principles. Get top tutorials, best practices, and hands-on code examples on GitHub.

Sukhpinder Singh | C# .Net
Sukhpinder Singh | C# .Net

Written by Sukhpinder Singh | C# .Net

.Net developer 👨‍💻 who's 100% convinced my bugs are funnier than yours. 🐛💥 #BugLife Pubs: https://medium.com/c-sharp-programming

Responses (2)

Write a response