C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Ashwani Tyagi(15)
Mohamed Shifan(6)
Vijayaragavan S(3)
Jignesh Kumar(2)
Najath Risni(2)
Nitin (2)
Manpreet Singh(2)
Joginder Banger(2)
Niharika Gupta(2)
Sandhiya Priya(2)
Sarthak Varshney(2)
Abhishek Jaiswal (2)
Rikam Palkar(1)
Mariem Moalla(1)
Ananya Desai(1)
Lokendra Singh(1)
Sanjay Kumar(1)
Jay Krishna Reddy (1)
Ajay Kumar(1)
Amit Mohanty(1)
Siddharth Gajbhiye(1)
Ritesh Kumar(1)
Venkatasubbarao Polisetty(1)
Anu Viswan(1)
Prakash Tripathi(1)
Jeetendra Gund(1)
Vikas Gupta(1)
Mahesh Chand(1)
Ashish Ratan Singh(1)
Meeran Nasir(1)
John Morehouse(1)
Sumit Singh Sisodia(1)
Rion Williams(1)
Ravishankar Velladurai(1)
Logesh Palani(1)
Alagunila Meganathan(1)
Delpin Susai Raj(1)
Sr Karthiga(1)
Ramees (1)
Kiran Thakur(1)
Satendra Singh Bhati(1)
Vijay Prativadi(1)
Jure (1)
C# Curator(1)
Will Wagers(1)
Aarav Patel(1)
Nidhi Sharma(1)
Saurav Kumar(1)
Krish Kanakiya(1)
Santosh Sarnobat(1)
Jalpa Dhola(1)
John Bhatt(1)
Alkesh Bijarniya(1)
Sreenath Kappoor(1)
Nandan Hegde(1)
Ravikant Sahu(1)
Chris Love(1)
George (1)
Chaman Gautam(1)
Amit Naik(1)
Faisal Pathan(1)
Harshita Joshi(1)
Jayanth N R(1)
Gul Md Ershad(1)
Sachin Kalia(1)
Arpit Jain(1)
Ramasagar Pulidindi(1)
Anubhav Chaudhary(1)
Sourabh Somani(1)
Amir Ali(1)
Resources
No resource found
Physics of Systems: What Happens When You Switch Countries on Amazon
Mar 31, 2026.
Ever wondered how Amazon seamlessly switches countries? This article dives deep into the sophisticated distributed system that powers Amazon's global presence. Explore the architecture, from client-side routing keys to backend service sharding, and learn how Amazon delivers localized experiences while adhering to data residency regulations. Discover the engineering philosophy behind building scalable systems, emphasizing decentralization, configuration over code, and compliance as a core constraint. A must-read for anyone interested in system design and microservices.
All you need to know about switch expression and Modern Pattern Matching
Sep 22, 2025.
Explore the evolution of the C# switch statement from its traditional constant-based form to the powerful pattern matching capabilities of modern C#. This article covers type patterns, relational patterns, positional patterns, and switch expressions introduced in C# 7.0 and later. Learn how to leverage these features for cleaner, more expressive code and improved conditional logic.
Difference Between Switch and Router
Sep 09, 2025.
Understand the core differences between routers and switches in networking. Routers connect different networks, operating at Layer 3 of the OSI model, using IP addresses to find the best data path. Switches connect devices within the same network at Layer 2, using MAC addresses for efficient data transfer.
Basic Configuration of a Cisco Switch using the Cisco Packet Tracer Simulator
Aug 23, 2025.
Setting up a Cisco switch means giving it a name, adding passwords to keep it safe, and setting an IP address so you can connect to it from another device. You also add a gateway, so it knows how to reach other networks. After that, you save the settings, so they don’t get lost when the switch turns off
Useful Cisco Switch Verification Commands
Aug 22, 2025.
Master essential Cisco switch verification commands! This guide provides a comprehensive overview of commands to check switch health, interface status, VLAN configurations, MAC address tables, port security, and spanning tree protocol (STP). Learn to diagnose network issues, ensure optimal performance, and maintain a stable and secure network environment.
Pattern Matching for Switch in Java 17
Oct 07, 2024.
Pattern matching for switches in Java 17 enhances code readability and simplifies working with complex data structures. It allows you to match object types, use type patterns, and add conditions with guarded patterns.
Explain Switch Case Uses in C#
Sep 11, 2024.
In C#, the switch statement serves as a control structure that enables the execution of distinct code blocks based on the value of a variable. It is frequently utilized when there is a need to compare a variable with multiple constant values and to carry out various actions according to the outcome.
Transitioning from Switch Statements To Switch Expressions in C#
Aug 09, 2024.
Explore how to modernize your C# code by transitioning from traditional switch statements to the more concise and powerful switch expressions introduced in C# 8.0.
If-Else vs Switch Statement in C#
Jan 16, 2024.
Navigate the decision-making landscape in C# with clarity. Delve into the distinctions between if-else and switch statements, understanding their pros, cons, and optimal use cases for efficient code.
Simplify Your Code with Switch Expressions: Patterns and Examples
Nov 06, 2023.
In C#8 switch statement enhanced with powerful feature that can simplyfy your code and make it more readable and maintainable. In this article We will explore into C# 8 switch expression and how to use in our code and make it more readable and how to use in different way to write conditional logic and how to leverage pattern matching functionality using switch.
How to Create Virtual Switch in Hyper–V Manager
May 09, 2023.
Virtual Switch in Hyper-V Manager is a software-based network switch that enables the communication between virtual machines, the host system, and other physical or virtual devices on the network. It allows virtual machines to connect to external networks and access network resources just like physical machines.
C# 12's Switch Expressions: A More Powerful Alternative to Traditional Switch Statements
Apr 17, 2023.
C# 12's Switch Expressions: A More Powerful Alternative to Traditional Switch Statements
How To Create A Toggle Switch In React
Nov 25, 2022.
This article demonstrates how to create toggle switch using reactjs.
Difference Between If-Else And Switch In C Programming
Jun 06, 2022.
This article Provide a basic understanding of if-else and switch statement in C Programming, users are able to apply them by understanding their advantages and disadvantages.
Understand Switch Statement In Power Automate
Apr 12, 2022.
Generally to handle multiple conditions then like in javascript and C# .net switch will be used, in the same way in Power automate also we can use Switch action. In this article we can see how it can be used to decide whether a person can take vaccination or not.
Revisiting Pattern Matching And Switch Expressions
Jul 06, 2020.
The evolution of Pattern Matching and the introduction of Switch Expressions has made it possible to write more concise and lean code. This article helps revisit this feature.
C# Using Dropdown Menu To Change Background Color With Switch Statement
Jun 18, 2020.
In this article, you will learn about using a dropdown menu in C# to change the background color with a switch statement.
Working With Switch Expressions And Pattern Matching In C# 8.0
Oct 04, 2019.
This article explains how to work with Switch expressions and Pattern matching in C# 8.0 and demonstrates how to use it in application development.
C# 8.0 Switch Expression
Mar 08, 2019.
In this article, we are going to learn what Switch Expressions in C# and how to use switch expressions in C# 8.
How To Switch From Factory Method Pattern To Abstract Factory Pattern
Oct 30, 2018.
This article will also compare and the difference between Abstract Factory and Factory method pattern. I am using the same case study example so that difference can be identified between these two design patterns.
C# Switch With Examples
Oct 03, 2018.
C# switch (expression) is combined with multiple case blocks. C# switch case code example.
Why We Should Switch To Office 365 - Know The Top 10 Reasons
Aug 07, 2018.
This is the era of cloud computing and there are more than valid reasons for this statement. Cloud computing has changed the way organizations handle their tasks and communication. It has also enhanced the overall productivity of the employees and the businesses. Though there are multiple cloud-based office productivity suites available, Office 365 is considered far better than the other suites.
New C# 7 Features - Is Expression With Patterns And Switch Statement With Patterns - Part Two
Jul 27, 2018.
This article explains Is Expression with Patterns and Switch statement with Patterns which makes developers lives easy.
Creating A Virtual Switch In Hyper-V
Mar 16, 2018.
A communication channel for virtual machines with each other is defined via virtual switch, so virtual switch can be defined as a program that enables virtual machines to communicate. It actually binds the physical machine network's adapter with a virtual host.
Using SWITCH On A Single Partition
Mar 12, 2018.
Several months ago, I was looking at a question posted on ask.sqlservercentral.com. I discovered an answer to a question regarding how to move a large amount of data around quickly. The solution was related to an aspect of table partitioning that I was not aware of. If you aren’t familiar with partitions in SQL Server, you can “divide” up a table into different segments or partitions. Often this is found in large tables (think millions/billions of rows) in order to quickly and efficiently move data around. Moving partitions around is a meta-data operation which is what makes it so efficient.
Xamarin.Forms Custom Switch Control
Jan 08, 2018.
This article demonstrates how to create and use a Custom Switch control in Xamarin.Forms, XAML, and C#.
Making The Switch As A Software Developer
Aug 09, 2017.
After nearly seven years at my previous position, I've decided to finally make a change. When this post goes live, I'll officially be working for the engineering team at Bay Dynamics, a San Francisco-based Risk Management and Cyber Security firm. I'm extraordinarily excited to get to join the amazing team there and be a part of something much larger than anything I've worked within the past.
How To Switch ON/OFF LED Using ARDUINO UNO And C# Form Applications
Jun 26, 2017.
This article is for beginners interested in the Internet of Things.
Xamarin.Forms - Design Switch Cell With Table View Application Using Visual Studio 2017
May 03, 2017.
This article enlightens you on designing switch cell with Table View Application, using Visual Studio 2017.
Working With Switch Control In Onsen UI Using Visual Studio 2015
Dec 19, 2016.
Design interactive mobile app interfaces with Onsen UI's Switch control in Visual Studio 2015. Implement toggling functionality seamlessly using JavaScript and CSS for responsive and user-friendly experiences.
Creating A Switch In Xamarin Android App Using Visual Studio 2015
Oct 17, 2016.
In this article, you will learn how to create a Switch in Android phone, using Visual Studio 2015.
Making The Clap Switch Using Arduino Mega 2560
May 27, 2016.
In this article you will learn how to make the Clap Switch Using Arduino Mega 2560.
Toggle Switch Control For Windows 10
Jan 09, 2016.
In the following article I will show how to work with a Toggle Switch control in Universal Windows Apps.
Action: Switch In Nintex Workflows Through SharePoint 2013 And Office 365
Oct 29, 2015.
In this article you will learn how to switch in Nintex Workflows through SharePoint 2013 and Office 365.
Make Calculator Using Switch Case in Java
May 16, 2015.
This article explains the switch statement in Java and shows how to make a calculator using a switch case statement.
First Look At Performance Of If and Switch Statements: Part 1
Dec 29, 2014.
In this article I am trying to determine which is the best, if with else or switch with case.
First Look At Performance Of If and Switch Statements: Part 2
Dec 29, 2014.
This small article focuses on analyzing the performance of the if and switch statements.
Round Trip Format Specifier in Light Switch 2012
Nov 01, 2013.
This article describes how to use the Round-Trip R Format Specifier in LightSwitch Visual Studio 2012.
Enum in Switch Case in Java
Oct 11, 2013.
In this article you will learn about the enum and switch case in Java and also how enum can be used in switch case.
Developing ComboBox Filtered Screen Using Light Switch 2012
Jun 26, 2013.
This article describes how to create a ComboBox filtered screen in LightSwitch using Visual Studio 2012.
Use of Percent Type in Light Switch 2012
Jun 19, 2013.
In this article I am going to describes the use of percent datatype in LightSwitch using Visual Studio 2012.
How to Use Editable Grid Screen in Light Switch Using Visual Studio 2012
Jun 07, 2013.
In this article I describe how to perform operations using an Editable Grid Screen using LightSwitch in Visual Studio 2012.
Publishing a Web Application in Light Switch Visual Studio 2012
Jun 07, 2013.
In this article I describe how to perform hosting in IIS Server by developing a Web Application using LightSwitch in Visual Studio 2012.
Publishing a Desktop Application in Light Switch Visual Studio 2012
Jun 06, 2013.
This article describes how to perform hosting in a Desktop Application using LightSwitch Visual Studio 2012.
Toggle Switch in Windows Phone 7 Messages via WCF Service
Jan 22, 2012.
Today, in this article we will dig out on one more interesting implementation in WP7 which whereby gets cross messages from WCF Service based on Toggle Switch Operation.
Performance of If-else if tree vs. Switch (multiple variables) in C#
Sep 28, 2010.
This article demonstrates multiple ways to implement if-else if tree, when there are multiple values to check, and compares their performance to a switch.
The Switch Class in C#
Feb 07, 2010.
In this article I will explain you about the Switch Class in C#.
Top 10 Reasons to Switch from Java to Visual C#
Jun 03, 2006.
This article details the major reasons for Java programmers to consider switching from the Java language to Visual C#.
Production Patterns for Microsoft.Extensions.AI Provider Switching
Aug 06, 2026.
Master production patterns for AI provider switching in .NET with Microsoft.Extensions.AI for flexibility, resilience, and cost optimization.
Zed Editor Explained: Why Developers Are Switching from VS Code
Jul 08, 2026.
Zed Editor: A fast, collaborative alternative to VS Code. Explore its native performance, built-in collaboration, and modern features.
Why Developers Are Switching to AI-First Development Environments
May 13, 2026.
Discover how AI-first development environments are revolutionizing software engineering, boosting productivity, and reshaping developer workflows. Embrace the AI era!
If() vs Switch() Functions in Power Apps
Apr 03, 2026.
Master PowerApps formulas! Learn when to use If() vs. Switch() for efficient and readable code. Explore examples and best practices for optimal performance in your apps.
What Is the TanStack Ecosystem and Why Are Developers Switching to It?
Apr 02, 2026.
Discover the TanStack ecosystem: headless libraries for data fetching, routing, and more. Learn why developers are switching for performance and flexibility.
Dynamic Theme Switching and Font Size Control for Better Accessibility
Mar 24, 2026.
Enhance website accessibility with dynamic themes, font size control, and a 'skip to content' link. Improve user experience and inclusivity for all visitors.
Why Are Developers Switching to Rust for System-Level Programming?
Mar 02, 2026.
Discover why developers are ditching C++ for Rust in system-level programming! Explore its memory safety, concurrency, performance, and security advantages. A deep dive!
PowerApps: When to Use If() vs Switch() Functions
Jan 28, 2026.
Understand when to use If() vs. Switch() in PowerApps for optimal code readability and maintainability. Learn to choose based on logic structure, not performance.
Power Apps - If(), Switch() & Match()
Dec 10, 2025.
This logic controls application behavior by evaluating multiple conditions in sequence, ensuring actions are taken based on user role, form state, and data validity while preventing unauthorized or invalid operations.
Dynamically Loading Multiple ASCX Pages in an ASPX Page using Switch-Case
Oct 13, 2025.
Learn how to dynamically load multiple ASCX user controls in a single ASP.NET Web Forms page (ASPX) using the LoadControl method and a switch-case statement. This approach promotes code reusability, reduces redundancy, and enhances maintainability by loading controls based on parameters like QueryString values. Discover how to implement this technique with a practical example, including error handling and optimization tips for large-scale applications. Improve your ASP.NET development skills and create more modular and efficient web applications.
How To Set VLAN Configuration On Cisco Networking Switch
Oct 10, 2025.
Learn how to configure VLANs on a Cisco networking switch using the Command Line Interface (CLI). This step-by-step guide demonstrates the easiest method for setting up VLANs, segmenting your network for improved security, and managing broadcast domains. Configure VLAN 10 for IT and VLAN 20 for HR with practical examples and commands. Master essential network administration skills today!
Assigning IP Addresses to VLANs on Cisco Switch
Sep 09, 2025.
Learn how to assign IP addresses to VLANs on a Cisco switch to enable inter-VLAN communication and improve network segmentation. This guide provides a step-by-step walkthrough, including VLAN creation, port assignment, and IP configuration. Enhance network security, performance, and manageability by properly configuring VLAN interfaces and default gateways. Includes verification commands for confirming your setup.
VLAN Configuration on a Cisco Switch
Sep 07, 2025.
Learn how to configure VLANs on a Cisco switch using the command-line interface (CLI). This guide provides a step-by-step walkthrough, covering VLAN ranges, creation, and port assignment. Improve network security, reduce traffic, and enhance performance by segmenting your network into isolated VLANs.
Importance of VLAN Configuration on Network Switches
Sep 04, 2025.
Discover the power of VLANs! This article explores how Virtual Local Area Networks enhance network security, performance, and manageability. Learn about VLAN types (Data, Native, Management), trunking, and the benefits of segmenting your network into smaller broadcast domains.
Differences Between Layer 2 Switches, Layer 3 Switches & Routers
Apr 28, 2025.
A Layer 2 switch moves data using device MAC addresses in the same network, a Layer 3 switch can also move data between networks using IP addresses, and a router connects different networks and sends data to the right place.
Switch Theme Between Light and Dark Mode on Webpage Using Bootstrap
Aug 24, 2024.
This guide covers step-by-step instructions on implementing theme toggling with Bootstrap's built-in classes, JavaScript, and CSS. Enhance your website's user experience by providing a responsive, customizable design.
What is a Switching Component In ReactJS
May 15, 2024.
A switching component in React dynamically renders different content based on conditions or user interactions. It's a versatile tool for creating dynamic interfaces, commonly used for tabbed interfaces, multi-step forms, and conditional content rendering.
Switch Statement in C#
May 13, 2024.
Learn how to use the switch statement in C# for efficient control flow. Explore its syntax, including case labels, break statements, and default handling. Discover how to leverage switch with enums and expressions for concise and structured decision-making in your code.
Switch Between Directories in Power BI Service
Feb 12, 2024.
This content discusses the issue of switching between directories (tenants) within Power BI, highlighting the lack of a direct option to do so in the Power BI portal. It offers a solution involving the use of Customer Tenant ID (CTID) and provides steps to log in to the necessary host Power BI instance.
Switch Between Embedded & Standalone Android Emulator | Android Studio
Sep 05, 2023.
In this article, we'll explore the process of transitioning between embedded and standalone Android Emulators within Android Studio.
How to Automatically Set Input Field Focus When Switching Tab Panels (Source Code Included)
Dec 17, 2022.
Learn how to use a simple JavaScript library and intermediate CSS selectors to set focus to the desired form field as tabs are toggled.
Switch Case Conditionals In Desktop Flow Using Microsoft Power Automate
Jun 28, 2022.
Reading this article, you can learn how to use Switch Case Conditionals in Desktop flow using Microsoft Power Automate.
Switch HTTP To HTTPS In Visual Studio
Feb 13, 2022.
This article discusses the switch of the protocol from HTTP to HTTPS for Web application in Visual studio
Understanding With ng-Switch Statements In Angular
May 28, 2021.
In this article, you will learn about ng-Switch Statements in angular, how to use ng-Switch Statements. and its use.
Switch Light On With Up And Down Arrow Keys Using C# Scripts In Unity
Sep 14, 2020.
In this article, you will learn about switching Light On UP and Down Arrow Keys using C# Scripts in Unity.
What Is NSX Logical Switching And NSX Logical Routing?
May 19, 2020.
In this article, you will learn about NSX Logical Switching And NSX Logical Routing.
What are Virtual Switches and Standard Switches?
May 15, 2020.
In this article, we will explore the distinction between Virtual Switches and Standard Switches in networking for virtualized environments. Dive into their roles in managing network traffic, configuring VLANs, and ensuring efficient communication within virtual machines.
Replace Conditional Statements (IF/ELSE Or SWITCH) With Factory
May 05, 2020.
Learn how to replace long IF/ELSE or SWITCH statements with polymorphism using the RIP design pattern. This article covers implementing the Simple Factory pattern and lazy loading, enhancing code maintainability and readability in Visual Studio 2019 with .NET Framework.
Switching Between .NET Core SDK Versions
Feb 19, 2019.
In this article, we’ll learn how we can switch between the versions of .NET Core SDK as per our need.
How To Use/Switch Screens On Microsoft PowerApps In Office 365
Jan 29, 2019.
There are many small fixations or steps to make your PowerApps completely functional. Some of them can be achieved directly and some of them have their tricky way. Here in this article, we are going to see one of those fixations.
Switching From Google Apps To Office 365
Jan 20, 2019.
Switching from Google Apps to Office 365 is a new trend in businesses today. Let's take a moment to discuss why businesses or organizations are migrating from G Suite to MS Office 365. Also, we will see how to perform data migration, such as emails, documents, labels, contacts and much more from Google Apps user account to Office 365 mailboxes.
How To Change/Switch The Database Dynamically In An ASP.NET MVC Application
Oct 06, 2017.
This is an example with code snippets to show how to switch or change the database (Connection string) dynamically while running a program in ASP.NET MVC 5 applications.
Switch Cell In Xamarin.Forms Application For Android And UWP
Feb 14, 2017.
In this article, you can learn how to use Switch Cells with Table View in Xamarin.Forms application for Android and Universal Windows Platform with XAML and Visual C#, in cross platform application development.
Switch Statement - A Code Smell
Jan 07, 2017.
This article will explain the code issues, using the Switch.. case statement. In some cases, it is a type of code smell.
Switch Control In Xamarin.Forms Application For Android And UWP
Dec 22, 2016.
In this article, you will learn how to add Switch control in Xamarin.Forms Application for Android and Universal Windows Platform with XAML and Visual C# in cross platform application development.
Switch Column Value of a Table Using Cursor in SQL Server 2008
Aug 11, 2015.
This article explains how to switch a column value of a table using a cursor in SQL Server 2008.
Grammar Switching in Speech Recognition
Mar 11, 2014.
In this article we will learn how to manage the many grammars in speech recognition for WP8.
Elucidate Lightswitch An Introduction
Feb 22, 2014.
This article provides a walkthrough of LightSwitch.
ng-Switch Directive of AngularJS
Jan 10, 2014.
This article explains the ng-Switch directive of AngularJS.
Visual Studio LightSwitch: Part 2
Jan 10, 2014.
In this article we will learn about the LightSwitch development procedure and Light Switch Design Goals.
Visual Studio LightSwitch: Part 1
Jan 06, 2014.
Building Modern, HTML5 Based Business Apps on Windows Azure with Visual Studio LightSwitch.
Switch Condition in AngularJS
Jan 04, 2014.
This article describes the AngularJS ng-switch, ng-switch-when and ng-switch-default directives.
Difference Between Escape Character ("\") & Date Separator ("/") in LightSwitch 2012
Nov 27, 2013.
This article describes the differences and use of the Escape Character (\) and Date Separator (/) Custom Format Specifier in LightSwitch Visual Studio 2012.
"gg" Custom Format Specifier in LightSwitch 2012
Nov 26, 2013.
This article describes how to use the gg Custom Format Specifier in LightSwitch Visual Studio 2012.
Sortable ("s") Format Specifier in LightSwitch 2012
Nov 09, 2013.
Here we will see how to use the Sortable(s) Format Specifier in LightSwitch Visual Studio 2012.
Short Time ("t") Pattern and Long Time ("T") Pattern in LightSwitch 2012
Nov 09, 2013.
This article describes how to use the Short Time Format Pattern and Long Time Format Pattern in LightSwitch Visual Studio 2012.
"X" Hexadecimal Format in LightSwitch 2012
Nov 01, 2013.
This article describes how to use the Hexadecimal Format Specifier in LightSwitch Visual Studio 2012.
Degree (°) Custom Format Specifier in LightSwitch 2012
Oct 31, 2013.
In this article I am going to describes how to use Degree(°) Custom Format Specifier in LightSwitch Visual Studio 2012.
Literal String Delimiter in LightSwitch 2012
Oct 30, 2013.
This article shows how to use the literal string delimiter in LightSwitch Visual Studio 2012.
"\" Escape Character in LightSwitch 2012
Oct 30, 2013.
This article explains how to use the Escape Character in LightSwitch Visual Studio 2012.
Phone Number Format in LightSwitch 2012
Oct 09, 2013.
In this article I am going to describes how to format a Phone Number in LightSwitch Visual Studio 2012.
Switch Among Activities and Send Data in Android
Oct 09, 2013.
This article explains how to switch among Activites and send data in Android.