public WantsByte() { theInstance = new HasByte(this.address); // do something with theInstance.theByteArray[2] for example // Let's print all elements of the array Console.WriteLine(String.Join(",", theInstance.theByteArray.Select(o => o.ToString()).ToArray())); }
public void TestMethod1() { Mapper.CreateMap <HasByte, HasBool>(); var hasByte = new HasByte() { Value = 1 }; var hasBool = Mapper.Map <HasByte, HasBool>(hasByte); }