Tuesday, January 27, 2015

Error " object A get or set accessor expected "

I try everything I can't fix this error , can somebody help me please.



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

namespace Strategy.Buy
{
class Class1
{
int Buy{get;set;}

public struct strategy
{
// public field
public class Buy
{
public override bool Buy
{
object Strategy.Buy
{
get
{
return _buy[_position]
}
}
Buy object1 = obj as Buy;
if (M2 > M0)
{
return true;
}
object. Buy = 1 ("contract next bar at Market");
return Buy ;("object = Buy 1 contract next bar at Market");
}
}
}
}
}

No comments:

Post a Comment