File1:File2:Code:using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fie;
namespace TwoArgConstructor
{
class Program
{
Foo myfoo;
static void Main(string[] args)
{
}
public void Initialize()
{
myfoo = new Foo(1, 2);
}
}
}
Error: Fie.Foo does not contain a constructor that takes two argumentsCode:namespace Fie
{
class Foo
{
Foo(int a, int b) { }
}
}
Yes it does! Can anyone see what is wrong here?
Quzah.