Hey everyone. I'm having trouble creating a class for my Pokedex. I'm to not use just if statements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hey everyone. I'm having trouble creating a class for my Pokedex. I'm to not use just if statements

public class Pokedex { string Pokemon; int Type; int Evolution; int Weakness; public void ShowStats(); { Console.WriteLine("ShowStats"); } { int Pokemon = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("No.{0}", Pokemon); }

8th Jul 2017, 2:57 PM
Bill
Bill - avatar
1 Answer
0
What do you mean?
8th Jul 2017, 3:08 PM
Bill
Bill - avatar