Skip to content

Latest commit

 

History

History

Project Euler solutions in C#

This directory contains solutions to Project Euler problems implemented in C#.

Folder structure

  • Problem1: Solution to Problem 1.
  • Problem2: Solution to Problem 2.
  • ...

Instructions for use

  • Each problem folder contains a Solution.cs file that contains the corresponding solution implementation.
  • You can browse and run the solution files in a C# development environment of your choice.
  • Remember that these files contain solutions to the problems, so we recommend that you try to solve them yourself before consulting these solutions.

cd C#/ dotnet new sln -n ProjectEulerSolutions dotnet new console -n ProjectEulerSolutions dotnet run dotnet add package NUnit --source https://api.nuget.org/v3/index.json dotnet add package NUnit.Runners --source https://api.nuget.org/v3/index.json

dotnet run dotnet test

git add . && git commit -m"Solution Problem004" && git push origin

Contributions

Feel free to contribute your own C# solutions! If you have a different or more efficient solution, you can add it in a new problem folder or improve an existing solution. We would love to see your contributions!