Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# .net question about how to change this code to allow a parameter and substitute "q" for that parameter Pin
Estys28-Apr-10 0:38
Estys28-Apr-10 0:38 
GeneralRe: C# .net question about how to change this code to allow a parameter and substitute "q" for that parameter Pin
joe loyzaga28-Apr-10 12:21
joe loyzaga28-Apr-10 12:21 
GeneralRe: C# .net question about how to change this code to allow a parameter and substitute "q" for that parameter Pin
Estys28-Apr-10 23:57
Estys28-Apr-10 23:57 
QuestionFind Year from text in C# Pin
montu337727-Apr-10 17:01
montu337727-Apr-10 17:01 
AnswerRe: Find Year from text in C# Pin
RCoate27-Apr-10 17:05
RCoate27-Apr-10 17:05 
GeneralRe: Find Year from text in C# Pin
montu337727-Apr-10 17:20
montu337727-Apr-10 17:20 
GeneralRe: Find Year from text in C# Pin
PIEBALDconsult27-Apr-10 17:29
mvePIEBALDconsult27-Apr-10 17:29 
AnswerRe: Find Year from text in C# Pin
Mycroft Holmes27-Apr-10 17:20
professionalMycroft Holmes27-Apr-10 17:20 
Pseudo code

open the file (System.IO)
read line (System.Text)
test that it contains the YearStarting pattern in the text (System.Text or regex)
extract the first date after pattern (System.Text or regex)
store the details (System.Data)
repeat test if it is possible to have more than 1 date per line
repeat line 2 until end of file
close file

Fairly simple really
Never underestimate the power of human stupidity
RAH

AnswerRe: Find Year from text in C# Pin
Gerry Schmitz27-Apr-10 23:19
mveGerry Schmitz27-Apr-10 23:19 
Questionchange the image to the color.. Pin
@nisha 2n27-Apr-10 15:35
@nisha 2n27-Apr-10 15:35 
AnswerRe: change the image to the color.. Pin
Mycroft Holmes27-Apr-10 17:13
professionalMycroft Holmes27-Apr-10 17:13 
GeneralRe: change the image to the color.. Pin
@nisha 2n27-Apr-10 20:20
@nisha 2n27-Apr-10 20:20 
QuestionPC Crashed: Getting "Class Library Cannot be Started Directly" error Pin
boreland27-Apr-10 14:38
boreland27-Apr-10 14:38 
AnswerRe: PC Crashed: Getting "Class Library Cannot be Started Directly" error Pin
Luc Pattyn27-Apr-10 15:07
sitebuilderLuc Pattyn27-Apr-10 15:07 
QuestionDLL Decomplile Pin
Abdullah S. Abdelhay27-Apr-10 8:24
Abdullah S. Abdelhay27-Apr-10 8:24 
AnswerRe: DLL Decomplile Pin
Dimitri Witkowski27-Apr-10 8:31
Dimitri Witkowski27-Apr-10 8:31 
AnswerRe: DLL Decomplile Pin
Ian Shlasko27-Apr-10 8:32
Ian Shlasko27-Apr-10 8:32 
AnswerRe: DLL Decomplile Pin
Pete O'Hanlon27-Apr-10 22:36
mvePete O'Hanlon27-Apr-10 22:36 
AnswerRe: DLL Decomplile Pin
harold aptroot28-Apr-10 2:00
harold aptroot28-Apr-10 2:00 
QuestionReading & Modifying XML Data in C# Pin
GrgBalden27-Apr-10 6:53
GrgBalden27-Apr-10 6:53 
AnswerRe: Reading & Modifying XML Data in C# Pin
Dan Mos27-Apr-10 7:17
Dan Mos27-Apr-10 7:17 
GeneralRe: Reading & Modifying XML Data in C# Pin
GrgBalden27-Apr-10 23:33
GrgBalden27-Apr-10 23:33 
GeneralRe: Reading & Modifying XML Data in C# [modified] Pin
Dan Mos28-Apr-10 3:24
Dan Mos28-Apr-10 3:24 
GeneralRe: Reading & Modifying XML Data in C# Pin
GrgBalden28-Apr-10 4:43
GrgBalden28-Apr-10 4:43 
GeneralRe: Reading & Modifying XML Data in C# Pin
Dan Mos28-Apr-10 8:02
Dan Mos28-Apr-10 8:02 

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.