PinnedShahzad AslamHistory in C#C# (pronounced “C Sharp”) is a programming language that is latest, flexible. It is made by Microsoft. C# is an object-oriented…Jan 29Jan 29
PinnedShahzad AslamTimeSpan in C#The TimeSpan in C# is used to represent a duration or a time interval. TimeSpan in C# provides a convenient way to work with time-related…Jan 29Jan 29
Shahzad Aslamif statement in C#The if statement is a fundamental control structure in programming that allows you to make decisions and execute different blocks of code…Sep 7Sep 7
Shahzad AslamIterators in C#In C#, iterators provide a convenient way to iterate over collections or sequences of data. They allow you to define custom iteration…Jul 17Jul 17
Shahzad AslamNullable Types in C#In C#, nullable types are a feature introduced to allow value types (such as int, double, bool, etc.) to have a value of null, in addition…Jul 17Jul 17
Shahzad AslamAnonymous Method in C# with ExamplesAn anonymous method is a method which doesn’t contain any name which is introduced in C# 2.0. In C#, an anonymous method allows you to…Jul 6Jul 6
Shahzad AslamPartial Class in C# with ExamplesWe can split a class, a struct, a method, or an interface into multiple parts with the same class name into .cs file and with partial…Jun 9Jun 9
Shahzad AslamDateOnly in C#In C# 9.0 and later, the DateOnly structure is available in the System namespace. DateOnly is designed to represent a date without the time…May 301May 301
Shahzad AslamDateTime in C#In C#, the DateTime struct is a fundamental data type used for working with dates and times. It is part of the System namespace and…May 301May 301
Shahzad AslamGenerics in C# with ExamplesGenerics in C# provide a way to define classes, interfaces, methods, and delegates with placeholder types. These placeholder types, called…May 261May 261