29 May 2023
In C#, the DateTime type represents date and time values. Formatting DateTime values allows you to customize the representation of dates and times according to...
The post C# DateTime Format: Customize Date and Time Representation appeared first on Naveed Ul-Haq's blog.
22 May 2023
String Interpolation in C# is a feature introduced that allows you to embed expressions directly within a string with the $ symbol.
The post C# String Interpolation: Explained appeared first on Naveed Ul-Haq's blog.
8 May 2023
In C#, access modifiers are used to define the accessibility of types and their members (variables and functions) in an assembly.
The post C# Access Modifiers: Controlling Accessibility of Members appeared first on Naveed Ul-Haq's blog.
1 May 2023
Delegates are used to create references to different methods in C#. Creating these references aims to make the methods accessible in an event-driven approach. There...
The post Action and Func Delegates in C# appeared first on Naveed Ul-Haq's blog.
24 April 2023
Delegates in C#/.NET seemed like an “extra” thing when I first learned about them. But, as I started practicing more and more and started doing...
The post Delegates in C#: What They Are and How to Use Them? appeared first on Naveed Ul-Haq's blog.
17 April 2023
A Dictionary in C# is a collection of key-value pairs, where each key is associated with a unique value providing and easy and quick retrieval.
The post How to Create and Use Dictionary in C#? appeared first on Naveed Ul-Haq's blog.
10 April 2023
Discover the power of lists in C#! Learn how to declare, manipulate, and store data in lists with code examples in this beginner's guide.
The post Master Lists in C# – A Beginner’s Guide appeared first on Naveed Ul-Haq's blog.
4 April 2023
For Loops are used to execute a block of code for a set number of times optimizing code and saving you multiple lines of code.
The post Everything C# | For Loop in C# appeared first on Naveed Ul-Haq's blog.
22 March 2023
If you are like me and have a hard time wrapping your head around arrays in C, let me be your guide. Let’s discuss Arrays...
The post Arrays in C# – With Examples | C# .NET Tutorial appeared first on Naveed Ul-Haq's blog.
14 March 2023
In C#, string formatting is like combining different things such as strings, values, and expressions to create a cool formatted string. It’s like setting up...
The post How to Format Strings in C# appeared first on Naveed Ul-Haq's blog.