string myString = (string)AppDomain.CurrentDomain.GetData("MyStringData");
object[] myObjectArray = (object[])AppDomain.CurrentDomain.GetData("MyObjectArrayData");This example retrieves an object array named "MyObjectArrayData" from the current AppDomain. These examples use the System namespace and do not require any additional package libraries.