Long.Sum(Int64, Int64) Method

Definition

Adds two long values together as per the + operator.

[Android.Runtime.Register("sum", "(JJ)J", "", ApiSince=24)]
public static long Sum (long a, long b);
[<Android.Runtime.Register("sum", "(JJ)J", "", ApiSince=24)>]
static member Sum : int64 * int64 -> int64

Parameters

a
Int64

the first operand

b
Int64

the second operand

Returns

the sum of a and b

Attributes

Remarks

Java documentation for java.lang.Long.sum(long, long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to