i need a verification if i did it right?
i am an international student so the language is a little barrier

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

namespace Credit
{
    class Program
    {
        static void Main(string[] args)
        {
            
            CustomerCreditLimit(3);
    
        }
        public static double CustomerCreditLimit(double limit, double credit =500)
        {

             limit = 500;
            Console.WriteLine("Your amount of credit is: ${0}", limit.ToString());
            return limit;


        }


    }

}

No, you should only have one parameter, credit. Get rid of the limit parameter. Otherwise you did the default value fine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.