EN / USD
56 Items
 Home
Blog
How to use C# Double Variables
c# double, double c#, c# double variable, C# double to int
Hello friends, hope you all are fine and having fun with your lives. Today, I am going to show you guys How to use C# Double Variable in your projects. In our previous tutorial, we have seen How to use C# Int Variable and we have also discussed about the term Variables in detail. So, I am not gonna discuss it again and gonna come straight to our topic C# Double variable. It's my second C# tutorial in the series of C# variables. In the coming tutorials, I will discuss the remaining C# variables in detail. I have also provided the project code below but I would suggest you to do it on your own so that you get most out of it.  Moreover, you should also have a look at Introduction to C# Windows Forms and How to use C# Control in Widows Forms as I am ...
Blog
How to use Arrays in C# ???
How to use Arrays in C#, Arrays in C#, array c#, c# array,Multi-Dimensional Arrays in C#
Hello friends, I hope you all are having fun. In today's tutorial, we are going to discuss How to use Arrays in C#. It's our 6th tutorial in C# series and currently we are focusing on basic concepts in C#. Without understanding these simple concepts, we can't move forward. So, let's get started with Arrays in C#: How to use Arrays in C# ??? An array (base type System.Array) is a collection of similar (like-typed) data types, called by a common name. Each data item is referred as an element of array and is assigned an index starting from 0. As C# array is an object so we can find its length using member length, which is actually a count of total number of data items in that array. Arrays are reference types and implement IEnumerable that' ...
Blog
Introduction to Structures in C#
Introduction to Structures in C#, Structures in C#, Structures C#, c# Structures, c# struct, struct c#
Hello friends, I hope you all are doing great. In today's tutorial, we will have a detailed Introduction to Structures in C#. It's our 17th tutorial in C# series. Structures are quite similar to classes but have few differences as well, which we will discuss today. We have discussed C# Classes in 13th lecture, so you must read it once as we will use that knowledge in today's lecture as well. So, let's get started with Introduction to Structures in C#: Introduction to Structures in C# Structure in C# is a value type data type, created by using keyword struct, and can have fields, methods, properties, operators etc. just as in C# Classes. Main difference between C# Class & Structure is that C# Class is a Reference Type Date type while C# St ...
Blog
Introduction to Interface in C#
Introduction to Interface in C#, Interface in C#, Interface C#, C# Interface
Hello friends, I hope you all are doing great. In today's tutorial, we will discuss another important concept named Interface in C#. It's our 18th tutorial in C# series. It's one of my favorite concepts in C# as its come quite handy in complex projects. Interfaces are quite similar to C# Classes & C# Structs in design so if you haven't studied those lectures then do read them first. So, let's get started with the Introduction to Interface in C#: Introduction to Interface in C# Interface in C# is created using Interface Keyword and is used for the declaration of Methods, Properties, Events etc. but we can't add any implementation in it. ( we can't declare Fields in Interface ) You can think of Interface as a signature, you look at the i ...
Blog
How to use for Loop in C#
How to use for Loop in C#, for loop in c#, for c#, c# for loop, for loop c#, foreach in c#, foreach loop in c#,c# foreach loop, c# foreach
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at How to use For Loop in C#. It's our 11th tutorial in C# series. Till now, we have seen two loops in C# which are IF Loop and while Loop and today we are gonna have a look at for Loop. For Loop is most commonly used loop in any programming language and if you have worked on any other language then you must be aware of its syntax. It is used to create repeated loop with specified number. Let's have a look at it in detail: How to use for Loop in C# For loop in C# takes an integer variable as a Controlling agent, initialized at value V1 and ends at value V2, and the travel from value V1 to V2 depends on the Condition specified in () brackets. In bot ...
Blog
Introduction to Properties in C#
Introduction to Properties in C#, Properties in C#, Properties C#, c# Properties
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at Properties in C#. It's our 20th tutorial in C# Series and a quite important one as we are gonna use properties a lot in our coming lectures. If you haven't studied C# Methods & C# Classes then I would suggest you to read them first before starting today's tutorial, as we are gonna use methods today. So, let's get started with Properties in C#: Introduction to Properties in C# Today I am not gonna start with the definition as I did in previous tutorial, instead we will first understand the concept and then will define it. So, let's create a new C# Class named StudentsClass shown in figure on right side. ...
Blog
C# ProgressBar Control
I hope you are doing good, In the tutorial, I'm going to explore C# ProgressBar Control. C# ProgressBar is used to express progress of any process. When you have to perform a long process within your desktop application then you have to use C# ProgressBar to show a user how much time left or how much progress is done. You can use C# ProgressBar for multiple purposes such as the downloading of life and result retrieving. C# ProgressBar Control A progress bar is used to show the progress of any process which takes a long time compared to normal processes. Mostly you have viewed these kinds of progress bar during the installation of software. C# ProgressBar has three parameters, Maximum, Minimum and the value. Maximum represents the max progress or up ...
Blog
Datatype Conversions in C#
Datatype Conversions in C#, int to float in c#, float to int c#, string to int c#, C# string conversion
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at Datatype Conversions in C#. We have discussed C# Data Types in our 3rd tutorial and today we will discuss How to convert one datatype into another. If you are working on some complex project, then you have to convert one form of data into another i.e. let's say you are getting bill value from barcode reader, this value must be a string and if you want to apply any arithmetic operation on it then you need to convert that string into integer or float. So, let's get started with Datatype Conversions in C#: Datatype Conversions in C# If you are working on some data driven application, then there's always a need to convert one form of data into another an ...
Blog
How to use C# if else Statement
c# if, c# if else, c# if statement, c# is else statement
Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to show you How to use C# if else statement. Previously we have seen the Introduction of C# Windows Forms an then we have also discussed different data types and variables used for programming in C#, you can read these tutorials on C# Tutorial page. So, before starting this C# if else tutorial, I would suggest you to first read all of those basic C# tutorials so that you know how to use different data types. Before starting this tutorial, you should also read How to add C# Control in Windows Form because we are gonna use three C# controls in this tutorial.So, let's get started with How to use C# if else statement: How to use C# if else Statement ??? First ...
Blog
OOP Concepts in C#
C#, OOP in C#, C# oop, oop concepts in c#, why oop, Encapsulation, Polymorphism, Inheritance, Abstraction
Do you wish to learn object-oriented programming concepts in the C# programming language? If so, then you have come to the right place. Learning about the object-oriented programming concepts in the C# is extremely important. But, what points should you learn? This article contains a detailed context of OOP concepts in the C# programming language, with all the answers to your questions. So, keep reading to learn everything about the OOP concepts in the C#. Brief Introduction To C# Programming Language We know that you already have a great understanding of the C# programming language. But, we want to begin the article with a brief introduction to the C# so that you have no confusion regarding anything. C# is an exceptional, object-intended programm ...