Category: C#

C# Compiler Warning – CS8425 async-iterator ‘{0}’ has one or more par

In this blog post, you’ll learn more about the C# Compiler Warning – CS8425 and the related message description C# Compiler Warning Code CS8425 C# Compiler Description for the Code :CS8425 Async-iterator ‘{0}’ has one or more parameters of type ‘CancellationToken’ but none of them is decorated with the ‘EnumeratorCancellation’ attribute, so the cancellation token parameter from the generated ‘IAsyncEnumerable.GetAsyncEnumerator’ will be unconsumed

How to Print Leading Zeroes for a Number in C# ?

The Leading Zeroes for a number can be printed using the format string “D” in .NET . Below is a sample code snippet that demonstrates printing of 3 leading zeroes for a number 5 digit number in C#. How to Print Leading Zeroes for a Number in C# ?

Can i run Windows Phone 8.1 App on Windows Phone 8 device ?

If you are a developer who is developing Windows Phone 8.1 apps for the first time or if you are a beginner then you might have this question. Can i run Windows Phone 8.1 Project on Windows Phone 8 device ? If you develop a app targeting Windows Phone 8.0 , then this will run on Windows Phone 8.1 device but if you are developing…