make sure the method arguments are in the right format
<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


//This is a C#-program, written in februari 2011, of Helén Andersson.
//This program computes the final sellprices for products in a drugstore.
//Given the net price, type of product and the corresponding taxrate.
//The program calculates the final amount to be payed by a customer.
//
namespace ConsoleApplication1
class TaxProgram
    {
        static void Main(string[] args)
        {
            //Declare and create an instance of the Product class.
            Product product = new Product(); //object created with the keyword new
            Console.BackgroundColor = ConsoleColor.Yellow;
            Console.ForegroundColor = ConsoleColor.Black;   


            //Call the product-object's Start method
            product.Start();

            //The command prompt will close quickley after the program has executed
            //the instructions under the Start method.
            //In order to see the result, let the prompt window wait for an input (return)

            Console.WriteLine("Press Enter to exit!");
            Console.ReadLine();

        }

    }

     public class Product
     { 
            //variables for in-put;
             private string name;
             private int count;
             private double unitPrice;

             private bool foodItem;

            //variables for out-put;
              private double totalVAT;
              private double totalNetValue;
              private double totalPrice;
              private char response;

            //VAT-constant;
              private const double foodVATRate = 0.12, otherVATRate = 0.25;



        public void Start()
        {   

            //Read input
            ReadInput();

            //Calculate total tax
            CalculateValues();

            //Calculate totalNetPrice, total price
            PrintReceipt();

        }          

            public void ReadInput()

        {

            //1. Read name of the product
            ReadName();


            //2. Read price without VAT
            ReadNetUnitPrice();

            //3. Ask the user if the item is a food item
            ReadIfFoodItem();

            //4. Read number of items
            ReadCount();

        }


        //Calculate totalNetVal Total VAT  
         public void CalculateValues()
        { 

            //1.Calculate the total net value
            CalculateTotalNetValue();

            //2.Calculate the total VAT 
            CalculateTotalVAT();  

            //3.Calculate the total price for all items
            CalculateTotalPrice();


        }

       //Print the result on the console

        public void PrintReceipt()
        {
            //1.Print first welcome-line
            PrintWelcome();
            //2.Print name of the product
            PrintProductName(name);

            //3.Print number of items
            PrintQuantity();

            //4.Print unit price
            PrintUnitPrice();

            //5.Print if it is a food item or not plus one blanc line
            PrintFoodItem(); 

            //6.Print total amount to pay
            PrintTotalAmount();

            //7.Print the VAT amount plus one blanc line
            PrintVATAmount();

            //8.Print the terminating come-again-line

            PrintComeAgain();
        }



        // 
        //
        // *****************************CONSOLE.READ METHODS *************************************
        // 
        // 
        //Ask the user for the productname
        public string ReadName()
        {
            name = "kalle";
            Console.Write("Enter the product name:");
            name = Console.ReadLine();
            return name;
        }
        //
        //Ask the user for the net-price
        //
        public double ReadNetUnitPrice()
        {
            unitPrice = 12;
            Console.Write("Net unit price:");
            unitPrice = Console.Read();
            //utunitPrice = unitPrice;
            return unitPrice;
        }
        //
        // Ask the user if the item is a food item
        //
        public  bool ReadIfFoodItem()

        {

            response = ' ';

             Console.Write("Food item (y/n): ");

             response = char.Parse(Console.ReadLine());


           if ((response == 'y') || (response == 'Y'))
              { 
              foodItem = true;
              }
            else
                if ((response == 'n') || (response == 'N'))
                {
                   foodItem = false;
                }

            return foodItem;

        }

        //
        // Read number of items(quantity)
        //
        public int ReadCount()
        {
            count = 12;
            Console.Write("Numbers of items:");
            count = Console.Read();
            return count;
        }

         //
         // *****************************CALCULATE METHODS *************************************
         // 
         //
        public double CalculateTotalNetValue()
        {
            totalNetValue = 88.00;
            totalNetValue = count * unitPrice;
            return totalNetValue;
        }
         //Calculate the totalprice 
         //
        public double CalculateTotalPrice()
        {
            totalPrice = 88.00;
            totalPrice = totalNetValue + totalVAT;
            return totalPrice;
        }
        //
        //Calculate total VAT checking if it is a food-VAT or other items VAT
        //
        public double CalculateTotalVAT()
        {
            totalVAT = 33.33;
            if (foodItem == true)
              {
               totalVAT =  foodVATRate *  totalNetValue; 
          //vad????     int count = Console.Read();
              }
            else
              { 
                totalVAT =  otherVATRate * totalNetValue;
            //vad???    totalVAT = Console.Read();
              }
            return totalVAT;

        }
         //
         //*****************************PRINT CONSOLE METHODS *************************************
         //
         //1. Print the welcome-line           
         public void PrintWelcome()
         {   
            Console.WriteLine("++++++++++++++++ WELCOME TO MY VIRTUAL DRUGSTORE +++++++++++++++");
            Console.WriteLine("+++"); 
         }
        //
        //2.Print name of the product
         public void PrintProductName(string name)
         {
             Console.WriteLine("+++Name of the product     :" + name); 
         }
         //
         //3.Print number of itemm
         public void PrintQuantity()
         {   
            Console.WriteLine("+++Quantity                              " + count);                    
         }
         //
         //4.Print unit price
         public void PrintUnitPrice()
         {  
            Console.WriteLine("+++Unit price                            " + unitPrice);                    
         }
         //
         //5.Print if it is a food item or not plus one blanc line
         public void PrintFoodItem()
          {  
            if (foodItem == true)
                      { Console.WriteLine("+++Food item                            YES" );
                        Console.WriteLine("+++                                                          +++");
                      }
            else       
                     {   
                        Console.WriteLine("+++Food item                             NO" );
                        Console.WriteLine("+++                                                          +++");
                     }
         }     
        //
        //6.Print total amount to pay
        public void PrintTotalAmount()
         {  
            Console.WriteLine("+++ Total amount to pay:                          " + (totalPrice));                    
         }
        //
        //7.Print the VAT amount plus one blanc line
         public void PrintVATAmount()
         {  
            if (foodItem == true)
                 { 
                  Console.WriteLine("+++ Includin VAT at 12 % " + (totalVAT));
                  Console.WriteLine("+++");  
                 }
            else
                 { 
                  Console.WriteLine("+++ Includin VAT at 25 % " + (totalVAT));    
                  Console.WriteLine("+++"); 
                 }
         }

                 //8.Print the terminating come-again-line
                public void PrintComeAgain()
                {
                  Console.WriteLine("++++++++++++++++  PLEASE COME AGAIN ++++++++++++++++++++++++");
                }  
    }
}
</code></pre>

<p>This is first time I write to this forum.  I have a problem with the char.Parse-line orits method.  This is one of my first C#-programs and I don´t really get wich kind of methods to use i.e. if I should use public or private and what is 'static' good for?</p>
