tag:blogger.com,1999:blog-11049085.post113432097333021549..comments2023-10-19T22:31:11.386+03:00Comments on Alex Pinsker: Reading ini-file from C#Alex Pinskerhttp://www.blogger.com/profile/01712994496088023843noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11049085.post-2613889692442874112012-03-13T14:05:38.550+02:002012-03-13T14:05:38.550+02:00Thanks a lot.. Its worked for meThanks a lot.. Its worked for meAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-32051650568219177472011-04-12T13:15:48.433+03:002011-04-12T13:15:48.433+03:00Also doesn't seem to take comments into accoun...Also doesn't seem to take comments into account.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-76437122819253427292011-02-28T21:54:41.162+02:002011-02-28T21:54:41.162+02:00Just note that it is caseSensitiveJust note that it is caseSensitiveAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-40395026489278023512009-08-03T17:51:53.074+03:002009-08-03T17:51:53.074+03:00Great! I tried and work "out of the box"...Great! I tried and work "out of the box". Just so that others can test it quickly I added a Main function and a ini.txt file in c:\temp. This function can be placed just before public class IniFile:<br /><br />public class test<br />{<br /> static void Main(string[] args)<br />{<br />IniFile t = new IniFile(@"C:\temp\ini.txt");<br />String value;<br />value = t.ParseFileReadValue(@"URL");<br />Console.Write(value + "\n");<br />value = t.ParseFileReadValue(@"UserID");<br />Console.Write(value + "\n");<br />Console.Read()<br />}<br />}Unknownhttps://www.blogger.com/profile/03983677245078008471noreply@blogger.comtag:blogger.com,1999:blog-11049085.post-1167234578230528712006-12-27T17:49:00.000+02:002006-12-27T17:49:00.000+02:00Cool Thanks...Cool Thanks...Anonymousnoreply@blogger.com