Open in app

Sign In

Write

Sign In

Mastodon
Sukhpinder Singh
Sukhpinder Singh

470 Followers

Home

About

Published in

The Startup

·Pinned

Advance Property Pattern C# 8.0

The article describes how pattern matching provides an effective way to utilize and process that data in forms that weren’t part of the primary system. — Prerequisites Please go through the articles below for a basic understanding of C# 8.0 concepts required in this article. New Switch syntax with C# 8.0 Microsoft has launched newer syntax for switch expression starting from C# 8.0. Switch statements must produce a value…medium.comhttps://medium.com/@singhsukhpinder/introduction-to-property-pattern-csharp8-0-eb2380323f8

Csharp8

4 min read

Advance Property Pattern C# 8.0
Advance Property Pattern C# 8.0
Csharp8

4 min read


Published in

C# Programming

·Pinned

The Flames Love Percentage Game in C#

This classic game is a fun way to calculate your love percentage with your partner, crush, or someone you’re interested in. This article will show you how to create a Flames Love Percentage Game using C#. Introduction to the Flames Game The Flames Love Percentage Game is based on the acronym FLAMES, which stands for…

Love

4 min read

The Flames Love Percentage Game in C#
The Flames Love Percentage Game in C#
Love

4 min read


Published in

C# Programming

·Pinned

How to use Chain of Responsibility Pattern

According to Gang of Four, it defines a chain of responsibilities to process a request. In other words, pass the request from one object to another until an object accepts its responsibility. — Use Case Let’s consider an example of a claims system in any corporate company. Here is the list of the price range that can be approved and by whom. 100–1000 Rs => Junior/Senior Engineers => Approved by Manager

Design Patterns

3 min read

How to use Chain of Responsibility Pattern
How to use Chain of Responsibility Pattern
Design Patterns

3 min read


Published in

C# Programming

·Pinned

Design Pattern - Builder

According to Gang of Four, a creational pattern “Builder” allows to separate and reuse a specific method to build something. — Use Case Lets us take an example of a Car, and the user wanted to build two models, i.e., SUV and Sedan. Builder design pattern comes in handy in the above use case, and let's see a step-by-step demonstration. And the Car class has the following properties. public class Car{ public string…

Design Patterns

3 min read

Design Pattern - Builder
Design Pattern - Builder
Design Patterns

3 min read


Published in

C# Programming

·Pinned

Run SonarQube Locally — .Net

How to run SonarQube locally for .Net solutions — The article describes how to analyze C# code quality using the SonarQube command line. Prerequisites Download the SonarQube free Community Edition SonarQube scanners require version 8/11 of the JVM, and the SonarQube requires version 11 Install PostgreSQL for demonstration, but it also supports MSSQL and Oracle databases. For the .Net Core…

Sonarqube

3 min read

Run SonarQube Locally — .Net
Run SonarQube Locally — .Net
Sonarqube

3 min read


Published in

C# Programming

·Jul 12

Different Ways to Calculate the Execution Time of a Method in C#

Calculating the time taken for a method to execute is essential in improving code efficiency and detecting areas of slowdown. — Introduction This article explores different approaches to measure the execution time of a method. In this article, we dive into various techniques for calculating method execution time. You can effectively monitor and enhance your code for superior performance by mastering these methods.

Dotnet

3 min read

Different Ways to Calculate the Execution Time of a Method in C#
Different Ways to Calculate the Execution Time of a Method in C#
Dotnet

3 min read


Published in

C# Programming

·Jul 11

Essential .NET 6 Skills for Beginners

Discover the power of .NET 6 with these essential skills for beginners. Master C#, ASP.NET Core, Entity Framework, and other tools to create cutting-edge and adaptable applications. Start your development journey now and unleash your potential! — Introduction The recent launch of .NET 6 has brought about exciting opportunities in the field of software development. While it may appear daunting to those just starting out, acquiring the necessary skills and knowledge can pave the way for success in this technology. In this article, you will discover 10 essential…

Dotnet

5 min read

Essential .NET 6 Skills for Beginners
Essential .NET 6 Skills for Beginners
Dotnet

5 min read


Published in

C# Programming

·Jul 10

Force run .Net Apps as Admin

By granting administrator rights, applications gain additional permissions to fulfil their intended purposes. — In some cases, applications need elevated privileges to access restricted system resources or execute privileged operations. This article outlines several approaches to help you run your application as an administrator. Manipulating the Application Manifest: Find the manifest file for your .NET application, which typically shares the same name as the application with the “.exe.manifest”…

Dotnet

3 min read

Force run .Net Apps as Admin
Force run .Net Apps as Admin
Dotnet

3 min read


Published in

C# Programming

·Jul 10

Group By Multiple Columns in C#: Data Aggregation

Introduction Performing group-by operations on multiple columns is an essential technique that developers must master to effectively process and analyze data. By arranging data according to multiple columns, developers can gain deeper insights into their data and achieve more efficient data aggregation and analysis. …

Csharp

3 min read

Group By Multiple Columns in C#: Data Aggregation
Group By Multiple Columns in C#: Data Aggregation
Csharp

3 min read


Published in

C# Programming

·Jul 4

How to mark a method as obsolete or deprecated?

Learn the best practices for deprecating methods in C# using the ObsoleteAttribute. Enhance code maintainability and promote modernization in C# development. — Introduction As software evolves, specific methods may become outdated and need to be deprecated. In such cases, it is essential to communicate to developers that these methods should no longer be used. Fortunately, C# provides mechanisms for marking methods as obsolete, alerting users to switch to alternative approaches.

Dotnet

3 min read

How to mark a method as obsolete or deprecated?
How to mark a method as obsolete or deprecated?
Dotnet

3 min read

Sukhpinder Singh

Sukhpinder Singh

470 Followers

Programmer by heart | C# | Python | .Net Core | Xamarin | Angular | AWS | Remember to 👏👏👏👏 Linktree: https://linktr.ee/sukhpindersingh

Following
  • Abnoan Muniz

    Abnoan Muniz

  • Rahul Sharma

    Rahul Sharma

  • Girls Who Code

    Girls Who Code

  • SourceFuse

    SourceFuse

  • anonymous.sukh

    anonymous.sukh

See all (25)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams