Programming Course in C# ¡Free!

How to multiply two numbers in C# Sharp

 Sunday, May 31, 2015 published by Exercises C#
Problem

Write a C# program to print the result of multiply two numbers on screen.


Solution

using System;
public class MultiplyTwoNumbers
{
    public static void Main()
    {
        Console.WriteLine(5 * 5);
    }
}