Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is @ for in C#
Message
De
13/01/2011 07:45:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
What is @ for in C#
Divers
Thread ID:
01496013
Message ID:
01496013
Vues:
135
I came across a line of code like this:
string path = @"C:\Temp\" + this.oReceipt.Entity.ReceiptNumber + @".pdf";
What is the "@" for?

I am now wanting to store the folder ina variable, so how would I change that line to something like this:
string path = @oAppSettings.ReceiptFolder + this.oReceipt.Entity.ReceiptNumber + @".pdf";
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform