Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

gcd c#

private static ulong GCD(ulong a, ulong b)
{
    while (a != 0 && b != 0)
    {
        if (a > b)
            a %= b;
        else
            b %= a;
    }

    return a | b;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity deadzone 
Csharp :: c# cmd 
Csharp :: how to make a object disapear in windows form c# 
Csharp :: csharp datetime string format 
Csharp :: start new form c# 
Csharp :: c# serialize to xml 
Csharp :: unity detect object with raycast 
Csharp :: C# fix formatting 
Csharp :: c# get path without filename 
Csharp :: convert int to string in linq query c# 
Csharp :: Create gaps / headers between variables in the unity inspector 
Csharp :: how to do fizzbuzz in c# 
Csharp :: unity unparent 
Csharp :: console writeline unity c# 
Csharp :: rotation facing mouse unity 
Csharp :: print in c# unity 
Csharp :: c# paste from clipboard 
Csharp :: net use delete 
Csharp :: DateTime previous day c# 
Csharp :: prettier inst working c# 
Csharp :: ef core detach entity 
Csharp :: bootstrap modal popup 
Csharp :: programmatically write bash script from c# 
Csharp :: c# open url 
Csharp :: C# .net core convert to int round up 
Csharp :: c# rsa example 
Csharp :: c# get user appdata folder 
Csharp :: C# push list 
Csharp :: c# write byte[] to stream 
Csharp :: crop bitmap image c# 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =