Skip to content

Commit eb5e566

Browse files
committed
edits
1 parent cf17f72 commit eb5e566

File tree

1 file changed

+6
-5
lines changed
  • src/connections/sources/catalog/libraries/server/csharp

1 file changed

+6
-5
lines changed

src/connections/sources/catalog/libraries/server/csharp/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,9 @@ The `reset` method clears the SDK’s internal stores for the current user and g
323323
analytics.Reset()
324324
```
325325

326-
## Compatibility
327-
This library targets `.NET Standard 2.0`. See the [list of compatible platforms](https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0){:target="_blank"}.
326+
## Arrays
327+
To send an array as an event property, reference the [GitHub repo](https://github.com/segmentio/Serialization.NET/blob/main/Tests/JsonUtilityTest.cs#L24){:target="_blank"}. Below is an example of code you can implement to send an array of strings:
328328
329-
## FAQ
330-
### Arrays
331-
To send an array as an event property you can reference the repo [here](https://github.com/segmentio/Serialization.NET/blob/main/Tests/JsonUtilityTest.cs#L24). For example, to send an array of strings the following code could be implemented:
332329
```c#
333330
List<string> listOfStrings = new List<string> { "test1", "test2", "test3" };
334331

@@ -337,6 +334,10 @@ JsonObject customerJsonObj = new JsonObject
337334
["event_name"] = new JsonArray(listOfStrings.ConvertAll(o => (JsonElement)o))
338335
};
339336
```
337+
338+
## Compatibility
339+
This library targets `.NET Standard 2.0`. See the [list of compatible platforms](https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0){:target="_blank"}.
340+
340341
## Changelog
341342
[View the Analytics-CSharp changelog on GitHub](https://github.com/segmentio/analytics-csharp/releases){:target="_blank"}.
342343

0 commit comments

Comments
 (0)