---
title: "Discussion on \"String operations\" | Hashnode"
description: "Discussion on \"String operations\". List<string> to string[]\nList<EntityName> device = dc.EntityName.Where(p => p.Id == userid).ToList();\nstring[] the_array = device.Select(i => i.PlayerID.ToString()).ToArray();\n\nstring to string[]\nstring someString = \"something\";\nstring[] stringArray ..."
url: "https://hashnode.com/posts/string-operations/65d8a0ac21495c582f285064"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [String operations](https://karatas.dev/string-operations?utm_source=hashnode&utm_medium=feed)

List<string> to string\[\] List<EntityName> device = dc.EntityName.Where(p => p.Id == userid).ToList(); string\[\] the\_array = device.Select(i => i.PlayerID.ToString()).ToArray(); string to string\[\] string someString = "something"; string\[\] stringArray ...

Feb 23, 2024 · 1 min read · karatas.dev  
Updated Feb 24, 2024  
Read the article

-   [#array](https://hashnode.com/tag/array)

## Written by

[Ferhat Karataş](https://hashnode.com/@karatas)

@karatas · Turkey

  
[View profile](https://hashnode.com/@karatas)

Software Developer

Performance freak

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
