Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
IsDivisibleV2
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine((10 % 5)); Console.WriteLine(IsDivisble(15,5)); } public static bool IsDivisble(int x, int n) { return x >= n && (x % n) == 0; } } }
run
|
edit
|
history
|
help
0
SQL import
Lambda Expression
Concatenate string with null.
enum flag comparison
async example with HttpClient
Rotation String
Custom long date
AX 2012 Test #1
n th to last element
newDiv2by1