# RTL Example Projects

**URL:** https://talk.remobjects.com/t/rtl-example-projects/22310
**Category:** Elements
**Created:** [June 12, 2020, 4:21pm UTC](https://talk.remobjects.com/t/rtl-example-projects/22310 "2020-06-12T16:21:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![garry.pettet](https://talk.remobjects.com/user_avatar/talk.remobjects.com/garry.pettet/32/12917_2.png) [@garry.pettet](https://talk.remobjects.com/u/garry.pettet)
#### Post date: [June 12, 2020, 4:21pm UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/1 "2020-06-12T16:21:14Z")

</div>

Are there any example projects for using files with RTL with C#?

Specifically I’m looking for a cross platform way to open a text file and a binary file and read their contents into a string and a byte array respectively.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [June 12, 2020, 4:59pm UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/2 "2020-06-12T16:59:59Z")

</div>

No example projects per se, but look at the `File` class, as well as `Binary` and (possibly), `BinaryReader` if you wanna do more intensive binary format parsing.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [June 12, 2020, 5:01pm UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/3 "2020-06-12T17:01:44Z")

</div>

My personal (bit dated) [https://github.com/dwarfland/d64](https://github.com/dwarfland/d64) project does a lot of binary reading/parsing too; consider it a predecessor to the BinaryReader class, as it does stuff manually that BinaryReader encapsulates (which I created after I had to do similar stuff 3 more times elsewhere 😉

---

<div class="post-metadata">

### Author: ![garry.pettet](https://talk.remobjects.com/user_avatar/talk.remobjects.com/garry.pettet/32/12917_2.png) [@garry.pettet](https://talk.remobjects.com/u/garry.pettet)
#### Post date: [June 13, 2020, 8:46am UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/4 "2020-06-13T08:46:49Z")

</div>

Thanks - that’s helpful.

Are you a retro computing fan too? I’ve got quite a collection of 1980s computers in my cellar, much to my wife’s annoyance.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [June 14, 2020, 2:06pm UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/5 "2020-06-14T14:06:59Z")

</div>

> [@garry.pettet](#):
>
> Are you a retro computing fan too?

More aspirational ;). I still got my C128, and a couple years ago I got it into my head to read in all my old disks into .d64s because they probably wont last much longer (and so I can declutter and get rid of the physical floppies afterwards), and got a SD dongle to get the .d64s connected to the hardware, then; mostly to get a copy of the code I wrote back in the day ;).

I wrote the d64 parser because I liked none of the other tools for browsing the content. Haven’t dome much with it since (and also haven’t managed to actually look at hooking the C128 up again (aside form using it as a floppy) — will need to find a place that still sells an old-fashioned antenna cable, as my old monitor was DOA after the move (of not before).

---

<div class="post-metadata">

### Author: ![garry.pettet](https://talk.remobjects.com/user_avatar/talk.remobjects.com/garry.pettet/32/12917_2.png) [@garry.pettet](https://talk.remobjects.com/u/garry.pettet)
#### Post date: [June 15, 2020, 8:52am UTC](https://talk.remobjects.com/t/rtl-example-projects/22310/6 "2020-06-15T08:52:40Z")

</div>

I was more an of Amstrad CPC 464 fan than a Commodore fan but the 8-bit systems were so cool. Kind of like classic cars for nerds - you could really tinker with them.

I’ve heard good things about [C64 Forever](https://www.c64forever.com). Might be worth checking out.
