Evanslib 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Evanslib --version 1.0.3
                    
NuGet\Install-Package Evanslib -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Evanslib" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Evanslib" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Evanslib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Evanslib --version 1.0.3
                    
#r "nuget: Evanslib, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Evanslib@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Evanslib&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Evanslib&version=1.0.3
                    
Install as a Cake Tool

Evan's Library to C#

Evanslib for C# is a great, more user-friendly way to code in C#

Commands

Here you will see a list of all the commands in Evanslib

Quality of life improvements

Some functions to save you a bit of work

Print

The print function is exactly as it sounds. It prints. Here is an example of the command

Print("STRING"); (Can use a string or int)

Input

This also takes an input, but you call it a bit differently than the print function.

string/int VARNAME = Evanslib.Input();

Time

Here are some functions for calling time

Currint Date

This function displays the current date (by the system) in the terminal

currentDate();

Current Time (Military time [24 hour time])

Displays the 24 hr time in terminal

currentTimeMT();

Current Time (12 hour time)

Displays the 12 hr time in terminal

currentTimeUT();

Current Date and Time

Displays the 12 hr time and date in terminal

currentDT(); (Both Date and military time)

Dictionary functions

The Evanslib dictionary is easy to learn, in contrast to c#'s and its quick and easy

Creating a dictionary

To create a dictionary, call

var DICTIONARYNAME = Evanslib.Dict(); (Creates a dictionary w whatever name you assign)

Adding to dictionary

To add a name and value to the dictionary, call

Evanslib.ModifyDict(DICTIONARYNAME, "NAME", "VALUE"); (Creates an entry in the dictionary with a name and value, outputs "NAME: VALUE")

Errors

Calling an error, exiting with an error, or exiting all together, it's easy with Evanslib

Calling an error

To call an error, call

Error("ERROR");

Exiting with an error

In the case you need to exit with an error, call

exitError("ERRORMESSAGE");

Exiting

If you would like to exit altogether, you can call

Exit();

How to setup

Run the following command in the terminal of your folder

dotnet add package EvansLib --version 1.0.1

Then, enter "using Evanslib" in your code

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.8 104 2/26/2026
1.3.7 105 1/17/2026
1.3.6 104 1/7/2026
1.3.5 209 12/7/2025
1.3.4 182 11/28/2025
1.3.3 235 11/22/2025
1.3.2 400 11/19/2025
1.3.1 403 11/19/2025
1.3.0 400 11/19/2025
1.2.1-pre 151 11/15/2025
1.2.0 189 11/15/2025
1.1.4 212 11/3/2025
1.1.3 128 10/11/2025
1.1.2 193 9/28/2025
1.1.2-updated.readme 134 9/29/2025
1.1.1 177 9/24/2025
1.1.0 193 9/22/2025
1.0.3 236 9/21/2025
1.0.2 186 9/21/2025
1.0.1 165 9/21/2025
Loading failed