The following code example shows how to use the ConditionExpression class to test for the inactive state.
ConditionExpression condition3 = new ConditionExpression();
condition3.AttributeName = “statecode”;
condition3.Operator = ConditionOperator.Equal;
Please like and subscribe my YouTube Channel and follow my blog for latest interview question and answer.