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

  • Home
  • SEARCH
  • 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 913639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:35:38+00:00 2026-05-15T17:35:38+00:00

public ClassType(string type) { Type = type; } public ClassType(string type,bool isArray=false) { Type

  • 0
    public ClassType(string type) {
        Type = type;
    }
    public ClassType(string type,bool isArray=false) {
        Type = type;
        IsArray = isArray;
    }


    ClassType ct = new ClassType("adsf");

Which constructor is chosen?

  • 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-15T17:35:38+00:00Added an answer on May 15, 2026 at 5:35 pm

    The overload that doesn’t require an optional parameter. Note that it’s just a “yes” or “no” decision here: “no optional parameters filled in automatically” is preferable to “some optional parameters filled in automatically” but there’s no preference between 1 or 2 being filled in. (That would be ambiguous.)

    From section 7.5.3.2 of the C# 4 spec:

    Otherwise if all parameters of MP have
    a corresponding argument whereas
    default arguments need to be
    substituted for at least one optional
    parameter in MQ then MP is better than
    MQ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 530k
  • Answers 530k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer THe XSLT processor you are using may have a bug,… May 16, 2026 at 11:42 pm
  • Editorial Team
    Editorial Team added an answer Your pdf files don't have to be in a user… May 16, 2026 at 11:42 pm
  • Editorial Team
    Editorial Team added an answer Alpha blending is done for you. On shader exit, gl_FragColor… May 16, 2026 at 11:42 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have the following procedure private static IMyInterface OpenInstance( string assemblyPath, string classType, string
public class EventsType { public event EventHandler> NewEvent; public void SmthHappened(string data) { MyEventArgs<Object>
public static string ProductHelper(this Product p) { // Need to get the DisplayName value
Is it possible to get the class type from inside the static initialization block?
I'm dynamically sub classing a generic type (filling it's contract) that has a generic
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EfTestFactory { public abstract class
I am wondering whether I can use DataContractJsonSerializer to serialize a Structure type, or
public class Greeter extends MovieClip { public function Greeter() { addEventListener(Event.ADDED_TO_STAGE, go); } private
public Envio(int id) { XDocument xml = XDocument.Parse(LoadFromService(id)); ID = xml.Element(envio) .Element(de).Value; De =
public delegate void ExecuteCallback(); class Executioner { private ExecuteCallback _doExecute; public void AddMultiple() {

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.