Division Error C# with Example



Division Error C# with Example

 using System;

namespace CSharpFundamentals
{
    class DivisionError
    {
        private static void Main(string[] args)
        {
			int value1 = 2/3;
			int value2 = 5;
			int result = value2 / value1;
			
			Console.Write("Result: {0}", result);
        }
    }
}
 

0 Comment's

Comment Form

Submit Comment