# Attributes for the .NET Package

Set channel and contact attributes as key-value pairs for personalization.

For information about Attributes, including overview, use cases, and how to target Attributes, see [About Attributes](https://www.airship.com/docs/guides/audience/attributes/about/).

## Channel Attributes

Channel attributes are attributes managed on the Channel by the SDK.

```csharp
Airship.Instance.Channel.EditAttributes()
    .SetAttribute("device_name", "Bobby's Phone")
    .SetAttribute("average_rating", 4.99)
    .RemoveAttribute("vip_status")
    .Apply();
```


## Contact Attributes

Contact attributes are attributes managed on the Contact by the SDK.

```csharp
Airship.Instance.Contact.EditAttributes()
    .SetAttribute("first_name", "Bobby")
    .Apply();
```


## Verifying Attributes

To verify that attributes have been set correctly, look up the channel or contact in the [Contact Management](https://www.airship.com/docs/guides/audience/contact-management/) view. You can search by Channel ID or Named User ID to view the attributes associated with a channel or contact.

