Blog

Page 469 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for C# "internal" access modifier when doing unit testing
c#.nettddunit-testing

C# "internal" access modifier when doing unit testing

Published on September 2, 2023

# Unlocking the ๐Ÿ”‘ to "Internal" Access Modifier in C# Unit Testing ๐Ÿงช Are you on a quest to conquer unit testing in C# but feeling a bit puzzled by the "internal" access modifier? ๐Ÿค” Fear not, for I am here to shed some light on this topic and help you n

Cover Image for How can I save application settings in a Windows Forms application?
c#

How can I save application settings in a Windows Forms application?

Published on September 2, 2023

๐Ÿ“ How to Save Application Settings in a Windows Forms Application ๐Ÿ” Are you struggling to save application settings in your Windows Forms application? Don't worry, you're not alone! Many developers face this common issue. In this blog post, we'll explor

Cover Image for const vs constexpr on variables
variables

const vs constexpr on variables

Published on September 2, 2023

# ๐ŸŒŸ Understanding the Difference between 'const' and 'constexpr' in C++11 ๐ŸŒŸ If you're a C++ enthusiast like me, you might have come across the question of whether to use `const` or `constexpr` when defining variables. Don't worry, because in this blog p

Cover Image for How to use HTML Agility pack
c#html

How to use HTML Agility pack

Published on September 2, 2023

# ๐ŸŽ‰โœจ Dive into the World of HTML Agility Pack! ๐Ÿš€ Are you finding it hard to parse, manipulate, and extract information from your not-so-perfect XHTML document? ๐Ÿง Fret not, because we have the perfect solution for you: the **HTML Agility Pack**! ๐ŸŽ In

Cover Image for How can I return NULL from a generic method in C#?
c#generics

How can I return NULL from a generic method in C#?

Published on September 2, 2023

๐Ÿ“ How to Return NULL from a Generic Method in C# Are you struggling with returning NULL from a generic method in C#? Don't worry, you're not alone! ๐Ÿคทโ€โ™€๏ธ In this blog post, we'll explore the common issues and provide easy solutions to help you overcome t

Cover Image for Best way to get application folder path
c#.net

Best way to get application folder path

Published on September 2, 2023

# Best Way to Get Application Folder Path ๐Ÿ“ ๐Ÿ‘‹ Hey there, tech enthusiasts! If you've ever found yourself scratching your head wondering how to get the application folder path ๐Ÿ“‚, you're not alone. It's a common question that developers often come across

Cover Image for Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
c#multithreading

Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on

Published on September 2, 2023

# Cross-Thread Operation Not Valid: Control Accessed from a Thread Other Than the Thread It Was Created On Hey there, techies! ๐Ÿ‘‹ Today, we're going to dive into a common issue that Windows Forms developers face when working with multi-threaded applicatio

Cover Image for Declare a const array
arraysc#.net

Declare a const array

Published on September 2, 2023

๐Ÿ“ **Title: Declaring a Const Array in C#: Solving the Language Dilemma** ๐Ÿ‘‹ Hey there tech enthusiasts! Have you ever found yourself stuck while declaring a constant array in C#? ๐Ÿค” If so, fret not! In this blog post, we will tackle this common issue hea

Cover Image for C# getting its own class name
c#reflection

C# getting its own class name

Published on September 2, 2023

# ๐Ÿ’ป Grabbing the Name of Your C# Class: A Simple Solution! ๐Ÿ’ก Have you ever wondered how to easily get the class name in C# as a string? ๐Ÿค” Oftentimes, developers find themselves in situations where they need the class name for logging, debugging, or oth

Cover Image for Concat all strings inside a List<string> using LINQ
c#

Concat all strings inside a List<string> using LINQ

Published on September 2, 2023

# ๐Ÿงฉ A Complete Guide to Concatenating Strings in a List using LINQ ๐Ÿงฉ Are you tired of manually concatenating strings in a `List<string>` with a delimiter? ๐Ÿ™„ Look no further! In this blog post, we'll explore an easy and efficient solution using LINQ exp