Menu
  • Blog
  • About
C# 7.0 – Pattern Matching
11 Apr

C# 7.0 – Pattern Matching

  • Prasad Raveendran
  • C#
  • Tags: C#7.0, Pattern matching, switch in C#7.0
  • no comments

C# pattern matching is a feature that allows us to perform matching on data or any object. We can perform pattern matching using the Is expression and Switch statement. Is expression is used to check, whether an object is compatible with the given type or not? A switch statement has been enhanced with the const pattern, the type pattern, and the var pattern

read more »

Site Categories

  • .NET (12)
  • Angular (1)
  • ASP.NET Core (17)
  • C# (18)
  • Design Patterns (1)
  • Design Principles (4)
  • SQL (1)
  • Uncategorized (9)
  • Popular
  • Recent
  • Tags
  • Blazor Introduction Blazor Introduction April 10, 2022
  • Blazor Project structure Blazor Project structure April 10, 2022
  • Rate Limiting in .NET 6.0 November 19, 2022
  • Difference between COUNT (1), COUNT (*) and COUNT(COLUMN_NAME) December 26, 2022
  • Exploring Channels in .NET February 4, 2024
  • OpenID Connect: Understanding state, nonce, and code_challenge October 6, 2026
  • Hybrid Caching in .NET 9.0: Enhancing Performance and Scalability June 27, 2025
  • How to Use a Containerized SQL Database Server Locally using Docker June 27, 2025
  • Implementing Resilience in a .NET 8 Web API June 27, 2025
  • IExceptionHandler in .NET 8.0 June 27, 2025
  • .NET 8.0 (10)
  • .NET 6.0 (8)
  • ASP.NET Core (6)
  • blazor (4)
  • .NET Core (3)
  • New Features (3)
  • C#7.0 (3)
  • .NET 5.0 (3)
  • webassembly (3)
  • Dependency Injection (2)
  • c#7.0 features (2)
  • .NET 9.0 (2)
  • Exception Handling (2)
  • Quick UDP Internet Connections (1)
  • UDP (1)
  • QUIC (1)
  • Enumeration Classes (1)
  • HTTP/2 (1)
  • HTTP/3 (1)
  • Enhanced Security (1)
  • Fallback Mechanism (1)
  • Handle Exception (1)
  • CORS (1)
  • Minimal API (1)
  • AddCors (1)

Site Archives

  • October 2026 (1)
  • June 2025 (8)
  • June 2024 (6)
  • February 2024 (3)
  • December 2022 (1)
  • November 2022 (1)
  • August 2022 (1)
  • July 2022 (2)
  • April 2022 (12)

Tag Cloud

.NET 5.0 .NET 6.0 .NET 8.0 .NET 9.0 .NET Core AddCors AddPolicy ASP.NET Core Authentication Authorization blazor C#7.0 c#7.0 features Caching Carter container CORS Dependency Injection Enhanced Security Entra Enum Alternative Enumeration Classes Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching Identity Provider Improve Performance in-memory Minimal API Multiplexing New Features Okta OpenID Connect Options Pattern QUIC Quick UDP Internet Connections SQL 2022 Thread UDP UseCors webassembly

Post Calendar

October 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jun    

PR Tech Talks

  • info@prtechtalks.com

Blog Posts

OpenID Connect: Understanding state, nonce, and code_challenge Hybrid Caching in .NET 9.0: Enhancing Performance and Scalability How to Use a Containerized SQL Database Server Locally using Docker

Tag Clouds

.NET 5.0 .NET 6.0 .NET 8.0 .NET 9.0 .NET Core AddCors AddPolicy ASP.NET Core Authentication Authorization blazor C#7.0 c#7.0 features Caching Carter container CORS Dependency Injection Enhanced Security Entra Enum Alternative Enumeration Classes Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching Identity Provider Improve Performance in-memory Minimal API Multiplexing New Features Okta OpenID Connect Options Pattern QUIC Quick UDP Internet Connections SQL 2022 Thread UDP UseCors webassembly
Copyright © 2022 - PR Tech Talks . All rights reserved.
Scroll