Matrix Multiplication in C#

This article demonstrates the implementation of Matrix Multiplication in C#. Undeniably, matrix multiplication is one of the most important operations on matrices. By and large matrix multiplication is used in many fields such as computer graphics, scientific computation, implementing algorithms, network theory, data science, applications of artificial intelligence and machine learning, image processing, and so …

Rotating an Array in C#

The following code example demonstrates Rotating an Array in C#. In fact, array rotation is a programming exercise that helps you improve programming logic. Moreover, it also requires students to develop critical thinking and to find think about logic to solve a problem in an efficient manner. In other words, the application logic needs to …

Recursive Binary search in C#

The following code example demonstrates the Recursive Binary search in C#. Basically, searching is a very important algorithm in computer science. In fact, almost every application requires the use of searching. Hence, an efficient implementation of the searching algorithm can have substantial improvement in the overall performance of the applications. Searching Techniques In short, there …

C# Practice Questions

The following C# Practice Questions will help you learn the C# language. C# Practice Questions – Basic Programs Understanding the compilation and running of programs on VS.NET 2019. Write a program that displays following: “A simple C# Program.” Create a program that converts temperature specified in Celsius into Fahrenheit.Write a program to compute area of …

Find Intersection Using Arrays

Find Intersection Using Arrays

This article explains how to Find Intersection Using Arrays in C#. Basically, the intersection is a set operation. In general, we compute intersection by taking the common elements from two sets. For instance, consider the following example. The following code shows how to find intersection using arrays. As can be seen in the code, the …