Hi all!
I try to code a strncmp like function in C# but it does not work.
Thanks for any help or comments :-)!
Code:public static int strncmp (string s1, string s2, int num) { int i; for (i = 0; i < num; i++) { if (s1[i] == s2[i]) return 1; } return 0; }