Blog

Page 526 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Implementing INotifyPropertyChanged - does a better way exist?
c#.net

Implementing INotifyPropertyChanged - does a better way exist?

Published on September 2, 2023

πŸ“ **Implementing INotifyPropertyChanged - does a better way exist? πŸ€”** ✨Hey there tech enthusiasts!✨ Have you ever struggled with implementing the **INotifyPropertyChanged** interface in your code? Do you wish there was an easier and more efficient way

Cover Image for How do I convert an enum to a list in C#?
c#enums.net

How do I convert an enum to a list in C#?

Published on September 2, 2023

# Converting an Enum to a List in C# πŸ’‘ If you've ever wondered how to convert an `enum` to a list in C#, you're in the right place! Imagine you have an `enum` with several options, and you want to create a list that contains all those options. How do you

Cover Image for Converting a String to DateTime
c#datetimestringtype-conversion

Converting a String to DateTime

Published on September 2, 2023

## Converting a String to DateTime: A Complete Guide for Techies πŸ“…πŸ•’πŸ’» Have you ever been in a situation where you had to convert a string into a DateTime object in your code? It can be quite a challenge, especially when faced with strings like "2009-05-

Cover Image for Run Command Prompt Commands
c#commandcommand-line.net

Run Command Prompt Commands

Published on September 2, 2023

## Running Command Prompt Commands in a C# Application Have you ever needed to run Command Prompt commands from within a C# application? Whether it's for automating tasks or executing specific commands, it can be a powerful tool to have at your disposal.

Cover Image for How do I remove all non alphanumeric characters from a string except dash?
c#regex

How do I remove all non alphanumeric characters from a string except dash?

Published on September 2, 2023

# πŸ€” How do I remove all non alphanumeric characters from a string except dash? Have you ever found yourself in a situation where you needed to clean up a string and remove all non-alphanumeric characters except for dashes? If so, you're not alone! This

Cover Image for Using LINQ to remove elements from a List<T>
c#list.net

Using LINQ to remove elements from a List<T>

Published on September 2, 2023

# Using LINQ to remove elements from a List&lt;T&gt; So you have a list of authors and you want to remove certain elements based on a specific condition. In this case, you want to remove authors whose first name is "Bob". Thankfully, LINQ comes to the res

Cover Image for Volatile vs. Interlocked vs. lock
c#multithreading

Volatile vs. Interlocked vs. lock

Published on September 2, 2023

πŸ”’Volatility, Interlocked, and Lock: A Threadie TaleπŸ”’ πŸ’¬Hey folks! Have you ever wondered how to safely manipulate shared variables across multiple threads?🧡 Well, fear no more! In this blog post, we'll dive deep into the world of thread synchronization

Cover Image for How do you handle multiple submit buttons in ASP.NET MVC Framework?
c#html

How do you handle multiple submit buttons in ASP.NET MVC Framework?

Published on September 2, 2023

πŸ“ Hey there, tech-savvy peeps! πŸ‘‹ Are you ready to tackle a scenario where you have multiple submit buttons from the same form in ASP.NET MVC Framework? πŸ€” Don't fret! I've got your back! In this blog post, I'll guide you through the common issues, provid

Cover Image for How to get the list of properties of a class?
c#.netpropertiesreflection

How to get the list of properties of a class?

Published on September 2, 2023

πŸ“ **Title: How to Easily Get a List of Properties of a Class** πŸ‘‹ Hey there, tech wizards! Today, we're diving into a commonly asked question among developers πŸ”πŸ’»: How can we obtain a comprehensive list of properties for a class? Whether you're a novice

Blog | Matheus Mello