In this article, We will discuss how to implement an IEnumerable interface in C# with multiple examples along with code implementation.
What is an IEnumerable interface in C#?
In C#, the
IEnumerable interface is considered as the base interface for all the non-generic collections that can be enumerated by using the foreach statement.
Continue reading “IEnumerable Interface in C# with examples”
In this article, we will discuss the different types of views in SQL Server with examples. We will also try to create the view, modify the view, update the view and drop the view in SQL Server.
View in SQL Server
What is a view in SQL?
view in SQL server is nothing more than a kind of virtual table based on the result set of SQL statements from one or more tables.
Continue reading “View In SQL | Types Of Views In SQL Server ”
SQL Server Trigger Update, Insert, Delete
What is a trigger in the SQL server?
trigger in an SQL Server is a special kind of that is fired or triggered automatically when a given event such as stored procedure occurs against a table in a database. Insert, Update, or Delete
How To Create SQL Server Trigger For Update Event?
Continue reading “SQL Server Trigger Update, Insert, Delete Examples”
In this article, We are going to discuss the
“difference between Abstract class and Interface in C#” with simple examples.
This is one of the most frequently common questions asked in almost every C# dot net interview.
Interface VS Abstract Class’ Before C# 8.0
Let’s go through what we know about the Abstract class and interface till C# 8.0 comes into the picture.
10 Difference between the abstract class and interface
The following is the list of 10 differences between the abstract class and the interface.
Continue reading “10 Difference between interface and abstract class In C# |Interface in C# 8.0”
In this article, we will talk about the exceptions and exceptions handling in C#. So, let’s discuss about the exceptions and how the .NET framework provides different keywords (
try, catch, finally, and throw) to handle them.
What is an Exception?
are a type of runtime error that disrupts the normal flow of the program. In other words, the exception is an abnormal condition that causes the termination of a running program. If the exception goes unhandled, the application might crash. Exceptions
There are many exception classes available in C# such as:
Continue reading “Exception Handling in C#| Use of try, catch and finally block”