Making a C# car ordering console application
trying to figure out how to do this, im making a car ordering system in console for c#, disply my array, choose a car make, model, color etc then disply results. any help. heres my code so far..............


    using System;
    using System.Collections.Generic;
    using System.Linq;
   using System.Text;

     namespace cars
     {
    class Program
     {
        static void Main(string[] args)
        {
      
            Console.WriteLine("Please select a car from the list.......");
            Console.WriteLine("");

            
          
            

            //foreach (string s in carmake)
            //{
            //    Console.WriteLine(s);
            //}



            while (true)

                if (model())
                {
                   
                }

                else
                {

                    Console.WriteLine("PROGRAM FAIL");
                }
                     
               
                
            //i = 0;
            //foreach (string s in carmake)
            //{
            //    if (car == carmake[i])
            //    {
                    
            //    }
            //    i++;
            //}

            //Console.WriteLine(s);
            //Console.WriteLine("");
            //car = Console.ReadLine();

            //if (car = )
            //{

            //}
            }
 

            public static bool model()
            {
            
            string car;
            string i;
            i = 0;
            string[ ] carmake = new string[3] { "FORD", "AUDI", "HONDA" };

            
            foreach (string s in carmake)
            {
                if (car == carmake[i])
                {

                }
                i++;
            }

            //Console.WriteLine(s);
            //Console.WriteLine("");
            //car = Console.ReadLine();

            //Console.Write(string.Join(" ", carmake));
            
           // return true;
            }

            }
    
    
               } 
    

    
Making a C# car ordering console application
===

trying to figure out how to do this, im making a car ordering system in console for c#, disply my array, choose a car make, model, color etc then disply results. any help. heres my code so far..............


    using System;
    using System.Collections.Generic;
    using System.Linq;
   using System.Text;

     namespace cars
     {
    class Program
     {
        static void Main(string[] args)
        {
      
            Console.WriteLine("Please select a car from the list.......");
            Console.WriteLine("");

            
          
            

            //foreach (string s in carmake)
            //{
            //    Console.WriteLine(s);
            //}



            while (true)

                if (model())
                {
                   
                }

                else
                {

                    Console.WriteLine("PROGRAM FAIL");
                }
                     
               
                
            //i = 0;
            //foreach (string s in carmake)
            //{
            //    if (car == carmake[i])
            //    {
                    
            //    }
            //    i++;
            //}

            //Console.WriteLine(s);
            //Console.WriteLine("");
            //car = Console.ReadLine();

            //if (car = )
            //{

            //}
            }
 

            public static bool model()
            {
            
            string car;
            string i;
            i = 0;
            string[ ] carmake = new string[3] { "FORD", "AUDI", "HONDA" };

            
            foreach (string s in carmake)
            {
                if (car == carmake[i])
                {

                }
                i++;
            }

            //Console.WriteLine(s);
            //Console.WriteLine("");
            //car = Console.ReadLine();

            //Console.Write(string.Join(" ", carmake));
            
           // return true;
            }

            }
    
    
               } 
    

    