Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6231151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:52:47+00:00 2026-05-24T09:52:47+00:00

I am getting an error of No overload takes 0 args at the Start();

  • 0

I am getting an error of “No overload takes 0 args” at the Start(); line in my main method. I do not know how to fix it, and I’ve searched around and couldn’t find anything.

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

    namespace ConsoleApplication1
    {
        class Program
        {
            public static void main(string[] args)
            {
                Start();
            }

            public static string Start(string move)
            {



                Console.Write("");
                string gameType = Console.ReadLine();

                if (gameType == "s")
                {

                    Console.Write("");
                begin:
                    Console.Write("\nEnter your move: ");
                    move = Console.ReadLine();


                    switch (move)
                    {
                        case "r":
                            Console.Write("s");
                            Console.ReadLine();

                            break;
                        case "s":
                            Console.Write("");
                            Console.ReadLine();

                            break;
                        case "f":
                            Console.Write("");
                            Console.ReadLine();

                            break;
                        default:
                            Console.Write("\nInvalid move, try again\n\n");


   goto begin;
                }
                Console.ReadLine();
                return move;
            }
            else
            {
                return move;
            }
        }


        static string Genius(string genius, string move)
        {
            Console.Write(move);
            return genius;
        }


    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:52:48+00:00Added an answer on May 24, 2026 at 9:52 am

    The method call to Start should should be

    Start("Something");
    

    Edit: as others have pointed out: there is no point in passing anything to Start(). The move value passed in is ignored and replaced by whatever is read from the console. Therefore I suggest simply removing the argument from the Start() method signature so it just reads

    public static string Start()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting the following error: Error 49 No overload for method 'getData' takes
On the following html and extension method I'm getting the following error: 'No overload
The full error I'm getting is this: error: ambiguous overload for ‘operator[]’ in ‘a[boost::_bi::storage4<A1,
getting error while try to start service
Update getting error when i try to call the method from Activity: SQLiteDatabase db
I am constantly getting an ambiguous overload error no matter what I do ....
I am not sure why I am getting an "error C2660: 'SubClass::Data' : function
I'm simulating a overload of a server and I'm getting this error: java.lang.OutOfMemoryError: unable
I am getting this error 'overload resolution failed because no accessible 'DataBind' is most
I keep getting the Keyword not supported: 'file access retry timeout' error when viewing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.