Skip to content

This script is a faster version of the standard 2 dimensional array

License

Notifications You must be signed in to change notification settings

PasterLak/Optimised-2D-Array-in-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Optimised-2D-Array-in-C#

This script is a faster version of the standard 2 dimensional array

How to use:

Array2D<int> numbers = new Array2D<int>(2,2);

numbers[0,0] = 14;

var x = numbers[0,0]; // x = 14

Other functions:

Array2D<int> numbers = new Array2D<int>(2,2);

var width = numbers.Width;
var height = numbers.Height;
var countOfElements = numbers.Count;

About

This script is a faster version of the standard 2 dimensional array

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages