PC Review


Reply
Thread Tools Rate Thread

creating a properties file

 
 
sony.m.2007@googlemail.com
Guest
Posts: n/a
 
      18th Jun 2008
Hi,

Is there any way of creating a properties file for storing key value
pairs in C#.Net?

Thanks
Sony

 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      18th Jun 2008
On Jun 18, 9:32*am, sony.m.2...@googlemail.com wrote:
> Is there any way of creating a properties file for storing key value
> pairs in C#.Net?


Configuration files in .NET *tend* to be in XML. However, it's easy to
write your own properties file implementation in C#, particularly if
you don't really care about multi-line property values etc. I'd advise
the use of UTF-8 instead of having \uxxxx style escape sequences.

Jon
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Properties transferring from excel cells to word file properties =?Utf-8?B?bHVibw==?= Microsoft Excel Programming 4 12th Jul 2005 11:24 AM
Properties File in .Net Similar to Java Properties file Sachin Microsoft C# .NET 2 31st Jan 2005 05:13 PM
creating a rule in Outlook based on a file's properties - help! ruth Microsoft Outlook VBA Programming 1 9th Jul 2004 10:13 PM
Cannot see all properties on Summary tab on File Properties seen from explorer. Sachin Arey Windows XP General 0 4th Mar 2004 05:42 AM
Re: right-click nor file-properties will display file properties Maureen Goldman Windows XP Basics 0 17th Aug 2003 03:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:28 AM.