Please bare in mind I'm a novice programmer and very new to C#

I am attempting to utilise the "Category" property in a test but whenever I try to retrieve it in any way I'm not having any luck. It either fails or returns as blank. I think I'm not reading it properly but I can't find any information for it.

My test looks like this:

```
[TestCase(TestName = "Testing Purposes Only")]
[Category("TESTING")]
public void testingPurposesOnly()
{
    //Some testing code
}

```

For now, all I want to do is to be able to refer to the current test's category value. I'm doing so like this:

```
LogMsg(TestContext.CurrentTest.Test.Property["Category"]);

```

I've as far as realizing that this will return a 'list' of categories? Like I said I'm a novice!

All I want to be able to do is access the category I have set in the test header so I can pass it onto something else as a string. What is the best way to do this?

Thanks in advance!