Unable to install package for Dictionary

we assume that your project is defining “Windows” as selected TargetFramework

Microsoft.Activities.Extensions Package is only available for the Windows - Legacy targetframework.

However, we can work with dictionaries as well with the following alternates:

Samples for a String, Int32 Dict

Init:
yourDict = new Dictionary(Of String, Int32)

(assign Activity) ~ Add to Dict:
yourDict(“YourKey”) = 123

(assign Activity) ~ Get From Dict:
myVar = yourDict(“YourKey”)

(assign Activity) ~ Key Exists in Dict
yourBool = yourDict.ContainsKey(“YourKey”)

(assign Activity) ~ Value Exists in Dict
yourBool = yourDict.Values.Contains(YourCheckValue)

for remove or clear we would use Invoke method or would do some tricks for using an assign activity