How to install .NET SDK on Ubuntu
godarda@gd:~$ su Password: root@gd:/home/godarda# apt-get install -y dotnet-sdk-8.0 ... root@gd:/home/godarda# dotnet --version 8.0.111 root@gd:/home/godarda# dotnet new console -o csharp root@gd:/home/godarda# ls bin csharp.csproj obj Program.cs
C# Fundamentals
C# Hello World programC# program to perform the arithmetic operationsC# program to perform the addition of two numbersC# program to calculate the area and circumference of a circleShow More »C# Control Statements
C# program to check the given number is even or oddC# program to check the given number is positive or negativeC# program to demonstrate the use of goto statementC# program to demonstrate the use of break and continue statementsC# Loops
C# program to use the loops and control statementsC# program to print the even and odd numbersC# program to print the star pyramid patternsC# program to print the star diamond patternShow More »C# Strings
C# program to find the length of a given stringC# program to convert lowercase to an uppercase stringC# program to convert uppercase to a lowercase stringC# program to concatenate the given stringsShow More »C# Classes
C# program to print the current date and timeC# implementation of structureC# implementation of class and objectC# program to demonstrate the use of constructorShow More »C# Methods
C# program to demonstrate the use of math library methodsC# program for addition of two numbers using a static methodC# program for addition of two numbers using a methodC# Inheritance
C# program for Single InheritanceC# program for Multilevel InheritanceC# program for Hierarchical InheritanceC# program for Hybrid Inheritance (Multilevel and Hierarchical)C# Polymorphism
Implementation of C# method overloadingHow to overload the Main() method in C#Implementation of C# method overridingC# program for complex numbers operationsC# Abstraction
C# program for Abstract classC# program to demonstrate the use of an interfaceHow to achieve Multiple Inheritance in C# using interfacesC# Namespaces
C# program to demonstrate the use of namespaceC# Collections (Generic and Non-generic)
Implementation of C# List classImplementation of C# LinkedList classImplementation of C# Dictionary classImplementation of C# SortedDictionary classShow More »C# Exception Handling
C# program to demonstrate the use of try and catch blocksC# program to catch all the exceptions using Exception classC# program to demonstrate the use of nested try and catch blocksC# program to demonstrate the use of finally blocksShow More »C# File Handling
C# program to perform the operations on a fileC# Regular Expressions
C# program to demonstrate the use of regular expressionsC# Multithreading
C# program to implement Thread class and its propertiesC# implementation of MultithreadingC# program to demonstrate two threads working concurrentlyC# program to set the priorities to the threadsShow More »C# Reflection
C# program to demonstrate the use of reflection objectsC# Database Connectivity
C# program to connect with MySQL DatabaseC# program to create a database in MySQLC# program to create a table in MySQLC# MySQL to insert and retrieve the records from a tableAdvertisement