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 (11)
  • ASP.NET Core (16)
  • C# (17)
  • 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
  • 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
  • Data Annotations in .NET 8.0 June 27, 2025
  • .NET 8.0 (10)
  • .NET 6.0 (8)
  • ASP.NET Core (6)
  • blazor (4)
  • C#7.0 (3)
  • .NET Core (3)
  • New Features (3)
  • .NET 5.0 (3)
  • webassembly (3)
  • c#7.0 features (2)
  • Exception Handling (2)
  • Dependency Injection (2)
  • .NET 9.0 (2)
  • Multiplexing (1)
  • Improve Performance (1)
  • Enhanced Security (1)
  • Fallback Mechanism (1)
  • HTTP/3 (1)
  • HTTP3 (1)
  • UseCors (1)
  • When Clause (1)
  • Try (1)
  • Catch (1)
  • Count (1)
  • Handle Exception (1)

Site Archives

  • 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 blazor C#7.0 c#7.0 features Caching Carter Catch container CORS Count DataAnnotation Dependency Injection Docket Enhanced Security Enum Alternative Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching IExceptionHandler Image Improve Performance Minimal API Multiplexing New Features Options Pattern Polly QUIC Resilient SQL 2022 Thread Try UseCors webassembly When Clause

Post Calendar

July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Jun    

PR Tech Talks

  • info@prtechtalks.com

Blog Posts

Hybrid Caching in .NET 9.0: Enhancing Performance and Scalability How to Use a Containerized SQL Database Server Locally using Docker Implementing Resilience in a .NET 8 Web API

Tag Clouds

.NET 5.0 .NET 6.0 .NET 8.0 .NET 9.0 .NET Core AddCors AddPolicy ASP.NET Core blazor C#7.0 c#7.0 features Caching Carter Catch container CORS Count DataAnnotation Dependency Injection Docket Enhanced Security Enum Alternative Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching IExceptionHandler Image Improve Performance Minimal API Multiplexing New Features Options Pattern Polly QUIC Resilient SQL 2022 Thread Try UseCors webassembly When Clause
Copyright © 2022 - PR Tech Talks . All rights reserved.
Scroll