naming convention

main
Fionn 3 years ago
parent cf1a23341a
commit 3b65c4b8cc

@ -4,7 +4,7 @@ namespace dotFionn.Checksum.Utils
{ {
public static class Extensions public static class Extensions
{ {
public static int digitSum(this int inInt) public static int DigitSum(this int inInt)
{ {
int digitSum = 0; int digitSum = 0;

@ -8,7 +8,7 @@ namespace test
static void Main(string[] args) static void Main(string[] args)
{ {
Console.WriteLine("Hello World!"); Console.WriteLine("Hello World!");
Console.WriteLine(123.digitSum()); Console.WriteLine(123.DigitSum());
} }
} }

Loading…
Cancel
Save