using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { double a = 123.1; double b = 321.2; Console.WriteLine("{0}", nums(a, b)); } static double nums(double a, double b) { return a * b; } } }