Table of Contents

Class XUlong

Extension methods for ulong.

Inheritance
System.Object
XUlong
Namespace: Galaxon.Core.Numbers
Assembly: Galaxon.Core.dll
Syntax
public static class XUlong : object

Methods

GetRandom()

Get a random ulong.

Declaration
public static ulong GetRandom()
Returns
Type Description
System.UInt64
| Improve this Doc View Source

Sum(IEnumerable<UInt64>)

Get the sum of all values in the collection.

Declaration
public static ulong Sum(this IEnumerable<ulong> source)
Parameters
Type Name Description
IEnumerable<System.UInt64> source
Returns
Type Description
System.UInt64
| Improve this Doc View Source

Sum(IEnumerable<UInt64>, Func<UInt64, UInt64>)

Get the sum of all values in the collection, transformed by the supplied function.

Declaration
public static ulong Sum(this IEnumerable<ulong> source, Func<ulong, ulong> func)
Parameters
Type Name Description
IEnumerable<System.UInt64> source
Func<System.UInt64, System.UInt64> func
Returns
Type Description
System.UInt64
| Improve this Doc View Source
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX | Galaxy logo by Freepik