Reputation: 597
Hi I am getting this error on the following code, the code which is highlighted with 2 * in front. Can anyone pls help?
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace ConsoleApplication5
{
class SStructure
{
**List<Property.Prop, List<Property.AddProp>> propset;**
public SStructure( List<Property.Prop, **List<Property.AddProp>> propset**)
{
this.propset = propset;
}
}
}
Upvotes: 0
Views: 2367
Reputation: 160852
The generic class List<T>
only has one type parameter - you are trying to pass two.
Upvotes: 3