Best of C Programming — May 2024
- 1
- 2
.NET Escapades·2y
An introduction to primary constructors in C#12
This post introduces the primary constructors feature in C#12 and discusses its use in reducing duplication in classes. It explains two approaches to use primary constructors and how they work behind the scenes. The post also mentions the advantages and disadvantages of using primary constructors.
- 3
- 4
Dreams of Code·2y
We can now write scripts using these languages, but is it worth it?
Learn about different languages that can be used for writing scripts, such as C, Go, and Rust. Explore the pros and cons of using bash for scripting tasks. Discover how to write scripts in C, Go, and Rust with the help of the scriptist tool. Find out how to add dependencies and enhance your scripts with features like command line arguments and terminal coloring.
- 5
- 6
- 7
Milan Jovanović·2y
EF Core Migrations: A Detailed Guide
This post provides a detailed guide on Entity Framework (EF) Migrations. It covers topics such as creating migrations, migration SQL scripts, applying migrations, customizing migrations, and additional database migration tools. The post also includes some best practices for EF Core migrations.
- 8
- 9
freeCodeCamp·2y
How to Use Object-Oriented Programming in C# – Explained With Examples
Comprehensive guide on object-oriented programming (OOP) using C#. Covers the four fundamental pillars of OOP: Inheritance, Encapsulation, Polymorphism, and Abstraction. Explains the benefits of OOP and provides examples and syntax for each pillar.
- 10
- 11
- 12
- 13
- 14
ThePrimeTime·2yYou Are WRONG About 0 Based Indexing
This post discusses the controversy of zero based indexing in programming languages, particularly in relation to arrays. It explores the historical context of zero based indexing and argues that one based indexing may be more intuitive for certain tasks. However, it ultimately concludes that the debate is not significant and that programmers should focus on using iterators instead.
- 15
Telerik·2y
Blazor Basics: 9 Best Practices for Building Blazor Web Apps
Learn nine best practices for building Blazor web applications, including understanding component lifecycle, splitting components, render mode agnosticism, event callbacks, state management techniques, code organization, web security best practices, and keeping it simple.
- 16
DevBlogs·2y
Package Management & improved .NET Aspire support come to C# Dev Kit
Announcement of the May release of C# Dev Kit, introducing package management for NuGet packages in Visual Studio Code and the ability to run/debug .NET Aspire applications. It also includes a new command to see the active document in Solution Explorer.