I want be able to declare variables like this:
public static Rectangle CreateFromArray(this Rectangle self, int[] info)
{
self.X = info[0]; self.Y = info[1];
self.Width = info[2]; self.Height = info[3];
return self;
}
But VS formats it like this:
public static Rectangle CreateFromArray(this Rectangle self,int[] info)
{
self.X = info[0]; self.Y = info[1];
self.Width = info[2]; self.Height = info[3];
return self;
}
I tried all the spacing options in Code Style -> Formatting and didn't find any that work.