How to install .NET SDK on Ubuntu
kodingwindow@kw:~$ su Password: root@kw:/home/kodingwindow# apt-get install -y dotnet-sdk-8.0 ... root@kw:/home/kodingwindow# dotnet --version 8.0.104 root@kw:/home/kodingwindow# dotnet new console -o csharp root@kw:/home/kodingwindow# 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 circle
Show 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 statements
C# 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 pattern
Show 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 strings
Show 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 constructor
Show 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 method
C# 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 operations
C# Abstraction
C# program for Abstract classC# program to demonstrate the use of an interfaceHow to achieve Multiple Inheritance in C# using interfaces
C# Namespaces
C# program to demonstrate the use of namespace
C# Collections (Generic and Non-generic)
Implementation of C# List classImplementation of C# LinkedList classImplementation of C# Dictionary classImplementation of C# SortedDictionary class
Show 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 blocks
Show More »
C# File Handling
C# program to perform the operations on a file
C# Regular Expressions
C# program to demonstrate the use of regular expressions
C# 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 threads
Show More »
C# Reflection
C# program to demonstrate the use of reflection objects
C# 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 table
Advertisement