Multiplication of the two numbers without using * operator in C#This topic has 0 replies, 1 voice, and was last updated 11 years, 1 month ago by Hirendra Sisodiya.Viewing 1 post (of 1 total)AuthorPosts April 24, 2012 at 11:10 am #3618 Hirendra SisodiyaKeymasterMultiplication of the two numbers without using * operator in C#. try this code: static int Multiply(int a, int b) { if (a == 0 || b == 0) { return 0; } else { int sum = 0; for (int i = 0; i < b; i++) { sum += a; } return sum; } } AuthorPosts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.Log In Username: Password: Keep me signed inLog In