rahul shekar

rahul shekar

  • NA
  • 10
  • 2.2k

Creating a Class but function has its argument as Class arra

Aug 9 2016 7:30 AM

Here is code

public partial class Property
{

private string keyField;

private object valueField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
public string key
{
get
{
return this.keyField;
}
set
{
this.keyField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
public object value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}

and a function is declared like this

public VerifyRetailO VerifyRetail(ref Property[] Properties, VerifyRetailI VerifyRetailRq)

but i dont know how to pass the first parameter
please help


Answers (6)