Skip to content

uvce-lab/csharp

Repository files navigation

csharp

C# Lab programs.

List of Programs

  1. Program to Check whether a number is Palindrome or not.
  2. Program to demonstrate Command line arguments Processing.
  3. Program to find the roots of Quadratic Equation.
  4. Program to demonstrate boxing and unboxing.
  5. Program to implement Stack operations.
  6. Write a program to demonstrate Operator overloading.
  7. Program to find the second largest element in a single dimensional array.
  8. Program to multiply to matrices using Rectangular arrays.
  9. Find the sum of all the elements present in a jagged array of 3 inner arrays.
  10. Write a program to reverse a given string.
  11. Using Try, Catch and Finally blocks Program to demonstrate error handling.
  12. Design a simple calculator using Switch Statement.
  13. Demonstrate Use of Virtual and override key words with a simple program.
  14. Implement linked lists using the existing collections name space.
  15. Write a program to demonstrate abstract class and abstract methods.
  16. Program to build a class which implements an interface which already exists.
  17. Write a program to illustrate the use of different properties.
  18. Demonstrate arrays of interface types with a C# program.

How to run the code

  1. Install .NET Core SDK: Installation link
  2. cd into correct project folder
# Example:
cd Palindrome
  1. Pass appropriate arguments
dotnet run <arguments>

Contributing

Since this is a repository for lab programs, PRs will be accepted only from contributers who are a part of the UVCE community. To submit a PR, a few guidelines are to be followed.

  1. Create a new branch with program number e.g. program1
  2. Use git pull origin master, on your branch, to get the latest code changes and fix all conflicts before submitting a PR.
  3. Create the pull request. The PR should not have any merge conflicts.
  4. PR should have the program number in the title, eg., Program 3: Quadratic Equation

Releases

No releases published

Packages

No packages published

Languages