I am trying to make a function that supports 4 parameters, but it does not work.. How I can resolve this ? Thank you.
private void Byte(byte a, byte b, uint c, byte d)
{
PS3.SetMemory(a + b * c, new byte[] { d });
}
Byte(0x00f474e3 + 0x3700 * dataGridView1.CurrentRow.Index, new byte[] { 0x03 });
Error:
Error: No overload for 'Byte' method takes two arguments
Bytemethod takes4parameter but you try to call it with2arguments. One with(0x00f474e3 + 0x3700 * dataGridView1.CurrentRow.Indexand another isnew byte[] { 0x03 }