# Saving an array/string to PC using .NET

**URL:** <https://forum.kirupa.com/t/saving-an-array-string-to-pc-using-net/208844>\
**Category:** random\
**Created:** [December 3, 2006, 2:51pm UTC](https://forum.kirupa.com/t/saving-an-array-string-to-pc-using-net/208844 "2006-12-03T14:51:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Al6200](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Al6200](https://forum.kirupa.com/u/Al6200)\
**Post date:** [December 3, 2006, 2:51pm UTC](https://forum.kirupa.com/t/saving-an-array-string-to-pc-using-net/208844/1 "2006-12-03T14:51:05Z")

</div>

I’ve used

richTextBox.SaveFile() before, but I’m curious as to how I can go beyond that to create non .txt files, and create my own custom file types.

I’d imagine if I was to create my own custom file-type, I’d want to have a function that uses each part of the array as a string that manages rendering.

So anyway, is there a way to use .NET to store a file that contains a single array of string?
