C#

6 posts

Running a Query in C# Database

Running a Query in C# Database

In C#, we use the SqlCommand command to execute queries in the database. Since I will continue with MySQL for our example, I will use the MySqlCommand command. Start a new Windows Forms application and add two buttons a...

Database Connection in C#

Database Connection in C#

In C#, for SQLServer connection, we need to call SqlClient namespace (using System.Data.SqlClient;), or for another database, we call the required namespace. For MySQL, if the .NET connector is installed, we use using My...

C# For and While Loops

C# For and While Loops

Hello, I'm starting with the same topic as my PHP For and While Loops tutorial because fundamentally everything is the same. Loops are used to perform repetitive tasks. Initially, it may seem meaningless, but if you hav...

C# General Programming Logic

C# General Programming Logic

C# is a language that works through Net Frameworks. C# requires Microsoft Visual Studio to be installed on our computer in order to write applications. The necessary frameworks are installed on our computer with Visual S...

What is C#?

What is C#?

What is C#? As you know, there are programs that we use to use our computers comfortably and programming languages are needed to make these programs. The most popular of these languages are Basic, C, C++, Pascal, Java an...