Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
In this blog I introduced the generic types may used in the method,property and parameters of a class .The bellow example is narates all these.

This is the most widely asked question in the interviews to the freshers as well as an experienced professional.

This question has been asked many times. Here I am going to explain what is a static method and instance method.

Before moving to the Singleton Design Pattern, let's look what a singleton pattern is. Singleton allows to sustain only one object to a class. This class restricts to one instance per class along global access.

The first thing you need to know about telegram bot and C# in this blog, that receives and sends data between the two, is Json. The first step is to create bot in Telgram.

In this blog you will learn about when we use break statement and when continue statement. There is a very minor difference in both statement.

This code snippet shows the process and application names similar to the Task Manager in a console application.

How to send email (with HTML body and attachment )from C# or ASP.net using smtp server.

The class which is declared using abstract keyword is an abstract class. An abstract class cannot be initialized it can be only be inherited by another class. Abstract consist of abstract methods and consists of an instance method.

This will help you to apply generic filtering on any properties, Sorting on any fields, grouping on any fields and paging on generic collections. It will avoid the network traffic and reuse the code extensively.

To connect and transfer files to FTP there is a Class available called FTP in .NET under System.IO and System.NET namespaces, However, to connect and transfer files on SFTP, there is no inbuilt class available in .NET.

Most of the developers face this "Access Denied" issue while installing their desktop application on a client system. Often, it happens because your application tries to save some data or read some data from that path or file but the client system doesn't provide rights to access the path.

Constants are immutable values whose values are known at run time and cannot be changed in whole life time of program.

The class which is decorated with the static keyword is a static class. A static class cannot be initialized using the new keyword. A static class can only contain static members instance members are not allowed in static class.

Now, from C# 7.0, Switch statement will be having more power in matching the cases. Earlier, Switch statement can be used only for primitive and string types. But now we can even use the Switch statements one step ahead for object types.

As we are aware of is-Expression where we can use the "is" keyword to verify the given type. In C# 7.0, this has been extended to constant, type, as well as, var patterns. Let's dig into each of the patterns here.

A new feature introduced with C# 7.0 is Expression Bodies. This feature makes your code more readable and can reduce the number of lines of code drastically.

In this blog, you will learn how to send data between two forms in a desktop application using C# language.

In C# 7.0, there were a couple of improvements in using out variable. To understand these enhancements we need to know how it was implementing in earlier versions I.e.., till C# 6.0.

In this blog, you will learn about Numeric Literals and Binary Literals in C# 7.0.

This article describes how to validate UDID number using C# in a client-side C# application. We can validate the Aadhaar number using verhoeff algorithm before sending to the server.

In this post, we will learn how to add a watermark inside textbox using AJAX Control Toolkit using C#. For this example first, we have to install the AJAX Control Toolkit from the NuGet package. For this example, we have to add ScriptManager, aspx TextBox, and TextBoxWatermarkExtender for displaying the watermark text in the textbox. Let's start coding.

This blog is for a beginner, its mainly to automate a Windows Application using C#, Winnapp driver (Appium) & Selenium. In this blog, we are going to automate the Calculator app.

Strings sometimes have lowercase first letters. Uppercasing the first letter is often necessary. Learn how to make a string's first letter uppercase in C# and .NET.
Everything on C#, not only its blogs: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog