I am trying to create a WPF Watts Calculator. The user is to select the type of calculation from the combo box and then fill in the values click calculate and receive the result. However, I am getting a combo box error. I am not sure how to handle it. the error reads CS1061: 'type' does not...
I really appreciate this. The school I go to is still teaching us variables and loops it's a bit of a shoddy school. I got this project from the students at another school I want to be good at this so I am joining forums and doing projects. In my neck of the world, you still need a formal...
I would, but I am not quite sure how. Really new to this and I am doing this cause at the institution I am enrolled we aren't being challenged so I am taking it upon myself type thing. I am trying to learn the principles and best practise...
Thank you, however, there is a possibility of a user dividing by 0 that a TryParse won't be able to handle. I just ran it as TryPase in a while loop. It worked for the character issue but not for divide by zero.
I want to be able to catch errors and ask the user for valid inputs.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S1P1
{
class Program
{
public delegate float WattsLawDelegate(float num1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.