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]
Rikam Palkar(3)
Rohatash Kumar(3)
Mahesh Chand(2)
Monica Rathbun(2)
Shakti Saxena(2)
Jignesh Trivedi(2)
Nipun Tomar(2)
Sharad Gupta(2)
Vikas Mishra(2)
Phil Curnow(2)
Niharika Gupta(1)
Sardar Mudassar Ali Khan (1)
Ajay Narkhedkar(1)
Praveen Kumar(1)
Ashish Bhatnagar(1)
Dashrath Hapani(1)
Lokendra Singh(1)
Jayraj Chhaya(1)
Ajay Kumar(1)
Diwakar Tiwari(1)
Jin Necesario(1)
Vijayakumar S(1)
Naresh Beniwal(1)
Vijay Kumari(1)
Abubackkar Shithik(1)
Gaurav Gahlot(1)
Rathrola Prem Kumar(1)
Pankaj Kumar Choudhary(1)
Nick Chamberlain(1)
Usman Arshad(1)
Ehsan Sajjad(1)
Mukesh Kumar(1)
Vishal Verma(1)
Ibrahim Ersoy(1)
Rahul Kumar Saxena(1)
Prakash Tripathi(1)
Vikram Chaudhary(1)
Jasminder Singh(1)
Francis Susaimichael (1)
Gaurav Kumar Arora(1)
Avinash Kumar(1)
Sourav Kayal(1)
Sandeep Sharma(1)
Mahesh Alle(1)
Manish Sharma(1)
Richa Garg(1)
Mohamed Hasan(1)
Amit Choudhary(1)
Abhimanyu K Vatsa(1)
Marcus (1)
Jean Paul(1)
Mohammad Elsheimy(1)
Karthikeyan Anbarasan(1)
Senthilkumar (1)
Rekha Singh(1)
C# Curator(1)
Khaled Rawy(1)
Prasham Sabadra(1)
Mario Scheeren(1)
Shalilesh Kumar Saha(1)
Filip Bulovic(1)
TH Mok(1)
Bulent Ozkir(1)
G Gnana Arun Ganesh(1)
Resources
No resource found
How do AI models generate videos using implicit 3D representations?
Mar 10, 2026.
Discover how AI models use implicit 3D representations to generate realistic videos. Learn about neural rendering, spatial understanding, and more!
Dealing with DB Null: Solving the Object cannot be cast from DB Null to other types Error in C#
Feb 23, 2026.
Safely handle DBNull values in C# when querying databases like Oracle or SQL Server. Prevent InvalidCastExceptions with practical examples and extension methods.
Type Casting and Comments in C#
Jan 10, 2026.
Master C# type casting (implicit, explicit, Convert, Parse, TryParse) and comments (single-line, multi-line, XML). Write safe, readable, and maintainable code!
First-Class Span<T> and ReadOnlySpan<T> Support in C# 14
Dec 02, 2025.
Learn how C# 14 introduces first-class language support for Span<T> and ReadOnlySpan<T>, including new implicit conversions, usage patterns, performance benefits, and limitations.
C# 14: The Next Step in Language Evolution for .NET 10
Nov 12, 2025.
Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!
Casting and Converting
Jul 31, 2025.
Learn how type casting works in Java, including primitive and object casting, upcasting, downcasting, and common pitfalls like ClassCastException with practical examples and inheritance-based scenarios.
Anonymous vs Arrow Functions
May 02, 2025.
This article explains anonymous and arrow functions in JavaScript, their syntax, usage in callbacks, array methods, IIFEs, and real-life examples like shopping cart logic, helping you write cleaner code.
Understanding Conversion Functions in SQL
Mar 27, 2025.
SQL conversion functions like CAST(), CONVERT(), TRY_CAST(), TRY_CONVERT(), and FORMAT() help change data types, format values, and handle errors efficiently.
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.
Dynamic Rendering in Blazor Using Implicit and Explicit Expressions
Jul 11, 2024.
Blazor, known for its component-based architecture, integrates HTML and C# seamlessly for dynamic rendering. It offers implicit expressions for straightforward data binding, explicit expressions for complex logic, and code blocks for embedding C# directly in HTML.
Understanding Implicit Usings in C#
Mar 13, 2024.
In C# 10, a new feature called "Implicit Usings" has been introduced. This feature aims to simplify the process of including commonly used namespaces in C# code files.
What is Type Conversion in C#?
Oct 31, 2023.
This article on type conversion in C# is comprehensive and informative. It effectively covers the fundamental concepts of type conversion, including implicit and explicit conversions, common conversion methods, exception handling, and custom type conversion. The examples provided throughout the article enhance the understanding of each concept and make it easier for readers to grasp the intricacies of type conversion in C#.
Type Casting In C# - Implicit Vs Explicit
Apr 06, 2023.
This article explains the fundamental concept of type casting in C# programming language, which involves converting one data type to another. The article covers the two types of type casting in C#: implicit and explicit. It provides real-world examples to help readers understand how to use both types of casting to convert data types effectively. By the end of the article, readers will have a better understanding of how to implement type casting in their C# programs.
Quick Tip - Remove CONVERTS/CASTS From WHERE/JOIN Clauses
Mar 29, 2022.
In this article, you will learn how to remove CONVERTS/CASTS from WHERE/JOIN clauses.
SQL CAST And CONVERT Function
Feb 08, 2022.
Explains the T-SQL language that offers two functions to convert data from one type to another: CAST and CONVERT.
Implicit And Explicit Type Casting In C#
Aug 08, 2020.
This article will help you to understand how to use typecasting in C#, why is it useful and when to use it.
Type Conversions in JavaScript
Apr 12, 2020.
In this article, you will learn about type Conversions (or) casting in JavaScript and its types.
SQL Cast And Convert Statement
Dec 11, 2019.
In this article, you will learn how to use Cast and Convert statement in SQL.
Type Casting in Java
Oct 10, 2019.
Typecasting is a basic concept of Java programming language. Assigning a value of one type to a variable of another type is known as Type Casting in Java.
Kotlin - Null Safety
Aug 06, 2019.
Kotlin null safety is used to eliminate the risk of null references in the code. In this article, you will learn about Null Safety in Kotlin.
What Is Implicit Conversion In SQL Server
Apr 16, 2019.
In this article, you will learn what implicit conversion is in SQL Server and how it works.
Dependency Injection - Part 3 - Implicit Vs Explicit Dependencies
Aug 12, 2017.
If a component or class depends upon other components to complete its operations, then these other components are dependencies for this class. Our class can have these dependencies as implicit or explicit dependencies.
How And When To Use Delegates In Your Project
Jan 23, 2017.
In this article, you will learn how and when to use delegates in your project.
Dynamic Data Type In C#
Feb 08, 2016.
C# dynamic keyword declares a dynamic variable that can store any type. Lean how to use a dynamic type in C# and how to convert a dynamic type to other types in C#.
Throwing an Invalid Cast Exception?... Look Out for Unboxing
Jan 02, 2016.
In this you will learn about an error that can occur in what would normally be a straightforward numeric conversion.
Overview Of Delegates
Dec 18, 2015.
In this article you will learn about Delegates and its types.
Mapping ViewModel To Model Using Implicit Conversion Operator In C#
Dec 15, 2015.
Mapping a ViewModel to a Model in C# using an implicit conversion operator is a technique used to simplify the process of transferring data between these two related classes. ViewModels are typically used in the presentation layer to represent the data that will be displayed to users, while Models represent the underlying data structure and are often used for database interactions. By using implicit conversion operators, you can streamline the mapping process and improve the maintainability of your code.
Implicit And Explicit Interface Implementation In C#
Oct 08, 2015.
In this article, I will demonstrate you how to implement an interface implicitly and explicitly in C#.
Implicit And Explicit Conversions In C#
Sep 30, 2015.
In this article you will learn how readability of code can be improved with implicit and explicit operators.
Introduction To Type Casting In C#
Sep 24, 2015.
In this article we will learn type casting and converting in C#. Some operators will also be discussed.
Inheritance With AS, IS and Cast Operators
Aug 13, 2015.
In this article we will learn how to use IS, AS and Cast Operator in Inheritance.
NodeJS Series Part 2: Installing the Device and Casting a Simple Spell
Jul 05, 2015.
Here I will describe NodeJS which is Part 2 of NodeJS series.This article describes how to install Node.js and make a simple one-line program.
Entity Framework: DbComparisonExpression Requires Arguments With Comparable Types
May 27, 2015.
The "DbComparisonExpression Requires Arguments With Comparable Types" error in Entity Framework indicates a type mismatch in a query comparison. It occurs when attempting to compare two values of different data types.
Safe Type Cast Using "IS" and "AS" Operators
Apr 23, 2015.
This article describes how to do safe type casting using the “IS” and “AS” operators in C# programming.
Implicit And Explicit Interface Implementation In C#
Apr 22, 2015.
This article explains how to use implicit and explicit interface implementation in C# programming.In C#, interface implementation is a mechanism that allows a class to provide specific implementations for methods defined in an interface. There are two ways to implement an interface in C#: implicit and explicit.
Conversion Between Types in C#
Mar 22, 2015.
The article describes the type conversion as well as the compile time and run time errors in C# programming.
Implicit vs Explicit Interface Implementations
Mar 12, 2015.
This article explores the differences between implicit and explicit interface implementation in C#. It explains how to implement an interface in two ways using classes, highlighting the accessibility of methods.
C#: Implicit and Explicit Implementation of Interfaces
Feb 19, 2015.
This article explains the implicit and explicit implementation of interfaces and its purposes.
Discussing The "Is" And "As" Operators Of C#
Feb 03, 2015.
The "is" and the "as" operators of C# are used to compare types. This code example shows how to use the is and as operators in the C# to avoid type mismatch exceptions or other type exceptions.
All About the TempData in MVC
Apr 18, 2014.
TempData is a temporary data storage mechanism in ASP.NET MVC, facilitating state management between HTTP requests. Stored in session variables, it aids in passing data between consecutive requests. TempData utilizes TempDataDictionary and ITempDataProvider interfaces.
Cursors In Oracle
Nov 26, 2013.
This article introduces the term Cursors in Oracle. Cursors are the temporary private working area where queries are processed. Implicit Cursors and Explicit Cursors are two types of Cursors.
Cursors For Loop in Oracle
Nov 26, 2013.
This article shows the use of Oracle cursors for loops with an appropriate example. The process of opening, fetching, and closing is handled implicitly by a cursors FOR LOOP. If there is a need to FETCH and PROCESS each and every record from a cursor, the cursor FOR LOOP is helpful for that.
Assignment Compatibility, Covariance and Contravariance
Aug 12, 2013.
The terms covariance and contravariance enable implicit references to conversion of array type, delegate type, and generic type arguments. Covariance preserves assignment compatibility and contravariance reverses it.
5 Tips to Improve Performance of C# Code: Part 3
Jul 13, 2013.
Welcome to the C# Performance Improvement Article Series. This is my third presentation.
JSP Implicit Object Part-1
Jun 18, 2013.
In this article we discuss implicit objects of JSP as Out, request and response object in this article, we define rest of objects in next article.
New Parse Conversion Function in SQL Server 2012
Apr 23, 2013.
In this article you will see how to use conversion functions using SQL Query in SQL Server.
Understanding Data Types in PHP
Apr 05, 2013.
In this article I will explain data types, type casting and how to test the type of a variable in PHP.
Adding a Number in String in SQL Server
Mar 22, 2013.
In this article, I provide a quick overview of how to add a number in a string in SQL Server.
Implicit and Explicit Interface Examples
Mar 18, 2013.
In this article you will learn about Implicit and Explicit Interfaces in detail with examples.
MySQL Cast and Convert Function in PHP
Jan 03, 2013.
In this article I explain how to use and what is the use of the MySQL cast and convert functions in PHP.
Cast() and Convert() Functions in SQL Server
Sep 06, 2012.
In this article, we will see how to use the cast and convert functions in SQL Server 2012.
Some Useful and Important Concepts of C#
May 29, 2012.
In this article I have explained some important concepts related to the C# language such as Implicit & Explicit type conversion, Boxing and UnBoxing of data types, static and nonstatic methods and the technique of creating automatic methods i.e. automatic method creation.
Working With Delegates in C#
May 11, 2012.
In this article I explain delegates and how we use them.
Covariance And Contravariance in C#
Jan 15, 2012.
In this article I will give an overview of Covariance and Contravariance.
Working With Implicit EL Object
Dec 03, 2011.
The most useful feature of the JSTL Expression Language is the implicit objects. It defines for accessing all kinds of application data
"implicit" Objects in JSP
Nov 23, 2011.
The JSP implicit object is one of the most important part of JSP, it is used for making the page dynamic.
Rarely used keywords in CSharp but Frequently asked in discussions [Beginners]
Sep 15, 2011.
There are a few words that we rarely use in day to day C# practices [I’m focusing readers who are beginners]. But I’ve seen them in either online exams or other IT quiz shows. So I came to write something about those untouched keywords.
The Is and As Operators in C#
Jul 05, 2011.
In C#, the "is" operator checks if an object is of a specified type, returning a boolean. The "as" operator attempts to cast an object to a specified type, returning null if the cast fails. Both operators facilitate safe type conversions and runtime type checking, enhancing type safety and reducing exceptions in object-oriented programming.
Core Java: Type Casting And Type Conversion
Jul 04, 2011.
Type casting and conversion is a basic concept in core Java that Java newcomers should consider to be as important as having breakfast. This article demonstrates how type conversions take place in Java.
Getting Familiar With the Type Related Extenstion Methods – Select(), Cast() and OfType()
May 14, 2011.
The class Enumerables.cs provides various extension methods for the built-in classes like IList, ArrayList, IEnumerable etc.
What's New in Silverlight 5 - XAML Changes
May 09, 2011.
In this article, we’ll have a brief discussion of the new XAML features of Silverlight 5.
SQL Server Integration Services (SSIS) - Multi Cast Transformation in SSIS
Apr 25, 2011.
In this article we are going to see how to use the Multicast transformation in SSIS packaging. This is part 53 of the series of articles on SSIS.
C# 3.0 New Features: Part I
Nov 26, 2009.
This article explains about the new features introduced in C# 3.0 with sample codes.
Delegates in C#
Jul 24, 2009.
In this article let us learn about Delegates in C#.
What are interfaces
Jun 01, 2009.
In this article I will be explaining you about interface, there types and implementation.
Avoid casting to improve code performance
May 19, 2008.
Casting is a big problem when it comes to the code performance. This article talks about how we can take advantage of generics in C# 2.0 to avoid casting.
Resource Files in ASP.NET
Feb 14, 2008.
This article explains you the use of resource files in ASP.NET 2.0.
Abstract Base Class Polymorphism
Aug 30, 2007.
Refactoring the program code from my Polymorphism, Up-casting and Down-casting article to use an abstract base class.
Polymorphism, Up-casting and Down-casting
Jun 25, 2007.
This article gives an introduction to polymorphism in C#. Using the example created in this introduction, the article then goes on to describe how we up-cast and down-cast objects.
C# ICE-Cast MP3 Streaming for WinAmp
Apr 02, 2005.
This little Web Application is for streaming MP3 files out to an WinAmp (www.winamp.com) interface.
Events Programming in C#
Nov 24, 2003.
In this article, author discusses the events model in .NET and how to implement events in your applications using C#.
Possible Usage of Visitor and Type Casts
Feb 25, 2003.
In this article I will try to introduce Visitor pattern and one possible variation on it. It treats problems related to projects projects where high level of adaptability is needed.
Peer-To-Peer Chat Program Using Asynchronous Socket
Mar 22, 2002.
Discover the essence of peer-to-peer chat through asynchronous sockets. Learn to design interfaces, implement real-time messaging, and ensure security for seamless communication in decentralized networks.
Working With Data Types
Jan 02, 2002.
Explains data types in C# and how to work with them.
Passing Const Parameter to Functions in C#/C++/VB Compared
Aug 30, 2001.
Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
Boxing and Unboxing in C#
Aug 20, 2001.
In this article, we will learn Boxing and unboxing in C# allow conversion from value types to reference types and vice versa. This article explains boxing and unboxing in C#.