Skip to content

OhnoMain/CSharp-Util-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

C# Utility DLL Library

πŸ“¦ Contents (more are coming)

  1. Factorial (returns double)
  2. Prime Checker (returns bool)
  3. Even Number Check (returns bool)
  4. Divisibility Checker (returns bool)
  5. Power Function (returns double)
  6. Digit Count (returns int)
  7. Degrees to Radians Converter (returns double)
  8. Degrees Sine Function (returns double)
  9. Degrees Cosine Function (returns double)

How to use

using MathsUtil;
    
MathsUtil.Factorial(5);
MathsUtil.IsPrime(7);
MathsUtil.IsEven(10);
MathsUtil.IsDivisible(15,3);
MathsUtil.Power(2, 4);
MathsUtil.DigitCount(12345);
MathsUtil.DegsToRads(360);
MathsUtil.DegSin(90);
MathsUtil.DegCos(180);

Add a reference for the dll file, "MathsUtil.dll". Right-click on the project and then click on "Add reference"

image

Select the DLL file and add it to the project

image

Add the namespace ("using MathsUtil;")


❌ NO AI ❌

This project IS and will remain 100% Ai free


πŸ‘‡If you want to see anything else added or have any questions Dm meπŸ‘‡

🟦 DISCORD

https://discord.com/invite/FKXR3TkQnt

About

A bunch of useful tools for C# such as prime check, factorial, power

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages