Count occurrences of a character within String in C#

Hi Programmers, welcome to new article of c#.net. This article i’ll write the program to Find the Number of Occurrences of a Character in a String in C# Console application. To Achieve the output we should use for loop ( any loop you can use) and if or if else statement.Let’s see the codes. Directly […]

Connect RStudio with Oracle Database

Hi Developers, welcome to new article of ozanecare. this article i’ll write the queries to connect Rstudio with Oracle Database or R with Oracle Database. The First step we need tocreate domain server name (DSN). After creating ,use the dsn inside odbcConnect .let’s see the queries. Directly Test the below queries into rstudio. Happy Queries…Thanks.

How to Install Cassandra on Windows

Hi Programmers , welcome to new article of ozanecare. This article i’ll explain complete steps download and install Cassandra on windows 10 operating system. Let’s Follow the Following steps. 1.Install Any Java version but i highly recommend you install java version 8. Install jdk8 and set path C:\Java\jdk1.8.0_211\binCreate Java JAVA_HOME = put java path. 2.Install […]

Find Smallest and Second Smallest Element in an Array in C#

Hi programmers, welcome to new article of array programming.This article i’ll write the program tofind the smallest and second smallest element in an array in c# console application. To find the smallest and second smallest elements, we should use for loop and if else statement. This article i’ll use single dimension array. Let’s see the […]

Jagged Array in C# with Example

Hi Programmers, welcome to new article of c#.net. This article i’ll write definition and program for jagged array in c# console application. The Jagged Array is an “array of an arrays”. It can store arrays in which length of each arrayindex can differ. For Example int[][] arr = new int[3][]; Here jagged array initialize with […]

Selection Sort Program in C#

Hi programmers, welcome to new article of c#.net. This post i’ll write programs for selection sort in c# console application. selection sort is a simple sorting algorithm. Selection sort is used to compare array elements. It divided array into two parts, First sorted part at the left side and second unsorted part at the right […]

Bubble Sort Example in C#

Hi programmers, welcome to new article of c#.net. This post i’ll write programs for bubble sort in c# console application.Bubble sort is a simple sorting algorithm.it compares each pair of adjacent elements in the array and the elements are exchange if they are not in order. let’s see the codes. Directly Test below Codes into […]

break, continue and goto statements in C#

Hi programmers, welcome to new article of c#.net. This post i’ll write definition and programs for break statement , continue statement and goto in c# console application.Break statement :The Break statement terminates the closest enclosing loop or switch statement in which it appears. loop such as for ,while,do while loop. let’s see the codes. Continue […]

Switch Case in C#

Hi Programmers , In this article i’ll write definition and program for switch case in c# console application. The Switch case is selection statement that chooses a single switch section to execute from a list of options based on a patternmatch with the match expression. we can pass char,string,bool,integral value, int or long, an enum […]

Add Two Numbers Without Using + Operator in C#

Hi Programmers, welcome to new article of c#.net. this article i’ll write the program to Add two numbers without using addition operator in C# Console application. We can easily achieve the output by using AND (&) or OR or Left shift operators. let’s see the codes. Directly Test Codes into Editor Happy Coding…Thanks