Main Site Documentation

Using System.Text


#1

hi,
i have import System.Text, but C# visual studio say that in this line of my code (i want to write something on my sd card) :

FileStream  FileHandle = new FileStream(rootDirectory + @ "\hello.txt",FileMode.Create);

FileStream don’t exist, it is not colored in blue.
help plz


#2

yes but, i imported System.IO too.

using System;
using System.Threading;
using System.Text;
using Microsoft.SPOT;
using System.IO;

using Microsoft.SPOT.Hardware;
using Microsoft.SPOT.IO;


using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.IO;


#3

by imported, i mean :" using"


#4

in my previous reply i witted all “using”,
what is references ?


#5

ah, yes, sorry.


#6

ok, thanks, now it work :smiley: