Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mesauring paint on a winforms panel Pin
Luc Pattyn16-Jun-10 10:12
sitebuilderLuc Pattyn16-Jun-10 10:12 
Questionstring matching Pin
arkiboys15-Jun-10 6:56
arkiboys15-Jun-10 6:56 
AnswerRe: string matching Pin
Ravi Bhavnani15-Jun-10 7:00
professionalRavi Bhavnani15-Jun-10 7:00 
AnswerRe: string matching [modified] Pin
Luc Pattyn15-Jun-10 7:05
sitebuilderLuc Pattyn15-Jun-10 7:05 
AnswerRe: string matching Pin
Dave Kreskowiak15-Jun-10 7:08
mveDave Kreskowiak15-Jun-10 7:08 
GeneralRe: string matching Pin
Luc Pattyn15-Jun-10 7:13
sitebuilderLuc Pattyn15-Jun-10 7:13 
GeneralRe: string matching Pin
arkiboys15-Jun-10 7:59
arkiboys15-Jun-10 7:59 
AnswerRe: string matching Pin
T M Gray15-Jun-10 8:34
T M Gray15-Jun-10 8:34 
Why do you refuse to use the right tools for the job? If you want to drive a nail, use a hammer. If you want to hit a baseball, use a bat.

Arbitrary restrictions on allowed methods or libraries without explanation smells like "do my homework for me".

But in case it isn't your homework, convert both strings to char arrays. Loop through array 1 until the letter matches the letter in array 2. Increment both indexes and compare, if they match continue incrementing, else reset index on array 2.
GeneralRe: string matching Pin
arkiboys15-Jun-10 8:46
arkiboys15-Jun-10 8:46 
GeneralRe: string matching Pin
Luc Pattyn15-Jun-10 11:36
sitebuilderLuc Pattyn15-Jun-10 11:36 
GeneralRe: string matching Pin
arkiboys15-Jun-10 11:38
arkiboys15-Jun-10 11:38 
GeneralRe: string matching Pin
Luc Pattyn15-Jun-10 11:38
sitebuilderLuc Pattyn15-Jun-10 11:38 
QuestionSystem.IO.Exception Pin
MWRivera15-Jun-10 6:32
MWRivera15-Jun-10 6:32 
AnswerRe: System.IO.Exception Pin
J4amieC15-Jun-10 6:44
J4amieC15-Jun-10 6:44 
GeneralRe: System.IO.Exception Pin
MWRivera15-Jun-10 7:45
MWRivera15-Jun-10 7:45 
AnswerRe: System.IO.Exception Pin
Luc Pattyn15-Jun-10 7:10
sitebuilderLuc Pattyn15-Jun-10 7:10 
AnswerRe: System.IO.Exception Pin
yu-jian27-Jun-10 10:28
yu-jian27-Jun-10 10:28 
QuestionDataGrid Column: How to create simulated mouse click event or column header click event. Pin
roman_s15-Jun-10 5:26
roman_s15-Jun-10 5:26 
AnswerRe: DataGrid Column: How to create simulated mouse click event or column header click event. Pin
Henry Minute15-Jun-10 6:26
Henry Minute15-Jun-10 6:26 
QuestionRe: trapping F1 in a file dialog Pin
mla15415-Jun-10 4:30
mla15415-Jun-10 4:30 
AnswerRe: trapping F1 in a file dialog Pin
dan!sh 15-Jun-10 4:49
professional dan!sh 15-Jun-10 4:49 
GeneralRe: trapping F1 in a file dialog Pin
mla15415-Jun-10 5:12
mla15415-Jun-10 5:12 
GeneralRe: trapping F1 in a file dialog Pin
Dave Kreskowiak15-Jun-10 5:25
mveDave Kreskowiak15-Jun-10 5:25 
GeneralRe: trapping F1 in a file dialog [modified] Pin
mla15415-Jun-10 5:30
mla15415-Jun-10 5:30 
GeneralRe: trapping F1 in a file dialog Pin
Dave Kreskowiak15-Jun-10 7:05
mveDave Kreskowiak15-Jun-10 7:05 

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.