Second Largest & Smallest Elements in an Array in C#

Hi Programmers, welcome to new article of c#.net. this article i’ll write the program to display second largest and smallest elements in c# console application. we can achieve the output by using nested for loop and if statement. let’s see codes. Directly use below codes into Editor. Happy Coding…Thanks.

TryParseExact Method in C#

Hi programmers, welcome to new article of c#.net. this article i’ll write program for tryparseexact method in c#. it returns true or false.it rejects invalid format of given string.it is used to convert string representation into Date-time equivalent. It accepts five parameters string, string format,iformatprovider,datetimestyle and out. Inside datetimestyle you can give none, assume-local,assume universal […]

typeof vs nameof in C#

Hi Programmers, welcome to new article of c#.net. this article i’ll write the programs to explain the Difference between nameof and typeof in C# Console application. typeOf : it returns type of objects. such as class types,interface types,array types, value types, enumeration types, type parameter, generic type definition etc. and nameof : it obtains the […]

Find Shortest and Longest Words in a String in C#

Hi programmers, welcome to new article of c#.net. this article i’ll write the program to display longest and shortest words in c# using console application. we should use multiple ifelse statements and for loop to achieve the output.suppose user enter two same words then longest and highest word are same else different.let’s see the codes. […]

Reserve String without Using Reverse Function in C#

Hi Programmers, welcome to new article of ozanecare , this article i’ll write the programs to reverse any string in c# without using any function. we can easily achieve the output by using while and for loops. Length function we will use to count total characters in the string. Let’s see the codes. Directly use […]

Count Frequency of Elements in Array in C#

Hi Programmers, welcome to new article of C#.net. this article i’ll write the program to Display Frequency of All Elements in Array in C#.net using console application. we are going to count duplicate elements and unique elements in an array .Here i’ll use two single dimension arrays. one for unique elements and another for duplicate […]

Matrix Addition in C#

Hi Programmers, welcome to new article of c#.net. this article i’ll explain the codes to add two matrix in c# using console application. in this example i’ll take three two dimensional arrays. user can enter rows and columns of the matrix. According two given rows and matrix size it will do matrix addition. let’s see […]

Count Length of String without using Function in C#

Hello Programmers, welcome to new article of c#.net. this article i’ll explain the count total numbers of characters in any string or words using c# console application.To achieve the output with inbuilt function we should use “Length” Function. It gets the number of characters in the current string. To achieve the output without any functionwe […]

Merge Two Arrays into Third Array in C#

Hello Programmers, welcome to new article of ozanecare. this article i’ll explain to combine two arrays into third using c# console application. this codes i’m using single dimension of array. Let’s see the program. output Screen. See below image. Directly use below codes into editor. Happy Coding…Thanks.

How to Run django in VS Code

Hello Programmers,welcome to new article of ozanecare. this article i’ll explain all important steps to run django programs inside visual studio code. visual studio code is the free opensource editor for many programming language. let’s see important steps to run python in vs code. Step 1. Install any python software but i highly recommend you […]