Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
DaveyM6929-Jan-10 6:03
professionalDaveyM6929-Jan-10 6:03 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
Darrall29-Jan-10 7:59
Darrall29-Jan-10 7:59 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
DaveyM6929-Jan-10 13:03
professionalDaveyM6929-Jan-10 13:03 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
Darrall29-Jan-10 15:44
Darrall29-Jan-10 15:44 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
DaveyM6930-Jan-10 1:41
professionalDaveyM6930-Jan-10 1:41 
GeneralRe: An exception thrown that I can't figure out how to fix Pin
Darrall30-Jan-10 7:12
Darrall30-Jan-10 7:12 
AnswerRe: An exception thrown that I can't figure out how to fix Pin
Dan Mos28-Jan-10 14:31
Dan Mos28-Jan-10 14:31 
QuestionIterating through MatchCollection Pin
uglyeyes28-Jan-10 12:54
uglyeyes28-Jan-10 12:54 
Hi, I have a MatchCollection1 which holds 1,2 and 3
MatchCollection2 holds A, B and C

now I want to print in below order,

1
A
2
B
3
C

how can i do that.

thank you

i think i need to do something like
<pre>
StreamWriter sw = new StreamWriter(@"file.txt");
foreach (Match match in MatchCollection1 )
{
sw.writeline(match);
//TODO get first item of collection in matchcollection2 and delete the first item.
  
      </pre>

I also cant find Item property as stated in this link http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.matchcollection.item.aspx[^]
i dont know the todo part please help?
AnswerRe: Iterating through MatchCollection Pin
Luc Pattyn28-Jan-10 15:12
sitebuilderLuc Pattyn28-Jan-10 15:12 
QuestionHow to get cookies from CookieContainer? Pin
hello_amigo28-Jan-10 10:54
hello_amigo28-Jan-10 10:54 
AnswerRe: How to get cookies from CookieContainer? Pin
Luc Pattyn28-Jan-10 12:02
sitebuilderLuc Pattyn28-Jan-10 12:02 
AnswerRe: How to get cookies from CookieContainer? Pin
Mycroft Holmes28-Jan-10 12:03
professionalMycroft Holmes28-Jan-10 12:03 
GeneralRe: How to get cookies from CookieContainer? Pin
hello_amigo28-Jan-10 13:32
hello_amigo28-Jan-10 13:32 
AnswerRe: How to get cookies from CookieContainer? Pin
Not Active28-Jan-10 13:37
mentorNot Active28-Jan-10 13:37 
AnswerRe: How to get cookies from CookieContainer? Pin
hello_amigo29-Jan-10 5:43
hello_amigo29-Jan-10 5:43 
GeneralRe: How to get cookies from CookieContainer? Pin
Lasha874-Mar-10 1:37
Lasha874-Mar-10 1:37 
QuestionUsing TaskScheduler 2.0 Pin
Bob Nona28-Jan-10 9:23
Bob Nona28-Jan-10 9:23 
AnswerRe: Using TaskScheduler 2.0 Pin
OriginalGriff28-Jan-10 10:24
mveOriginalGriff28-Jan-10 10:24 
GeneralConverting a project to target x64 platform Pin
SimulationofSai28-Jan-10 8:33
SimulationofSai28-Jan-10 8:33 
GeneralRe: Converting a project to target x64 platform [modified] Pin
harold aptroot28-Jan-10 9:07
harold aptroot28-Jan-10 9:07 
QuestionHow to work on Devices using C#? Pin
CoderForEver28-Jan-10 7:35
CoderForEver28-Jan-10 7:35 
AnswerRe: How to work on Devices using C#? Pin
Luc Pattyn28-Jan-10 7:37
sitebuilderLuc Pattyn28-Jan-10 7:37 
GeneralRe: How to work on Devices using C#? Pin
CoderForEver28-Jan-10 7:51
CoderForEver28-Jan-10 7:51 
GeneralRe: How to work on Devices using C#? Pin
Luc Pattyn28-Jan-10 8:05
sitebuilderLuc Pattyn28-Jan-10 8:05 
GeneralRe: How to work on Devices using C#? Pin
OriginalGriff28-Jan-10 8:17
mveOriginalGriff28-Jan-10 8:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.