Click here to Skip to main content
15,881,424 members
Home / Discussions / C#
   

C#

 
GeneralRe: How To Wire Up This Event Pin
Super Lloyd13-Jul-16 13:12
Super Lloyd13-Jul-16 13:12 
Questionapp.Exe.Config Location for Windows 7 & 10 Pin
Chuck Salerno12-Jul-16 13:54
Chuck Salerno12-Jul-16 13:54 
AnswerRe: app.Exe.Config Location for Windows 7 & 10 Pin
Garth J Lancaster12-Jul-16 16:01
professionalGarth J Lancaster12-Jul-16 16:01 
AnswerRe: app.Exe.Config Location for Windows 7 & 10 Pin
Dave Kreskowiak12-Jul-16 16:25
mveDave Kreskowiak12-Jul-16 16:25 
GeneralRe: app.Exe.Config Location for Windows 7 & 10 Pin
Chuck Salerno14-Jul-16 3:43
Chuck Salerno14-Jul-16 3:43 
GeneralRe: app.Exe.Config Location for Windows 7 & 10 Pin
Dave Kreskowiak14-Jul-16 3:56
mveDave Kreskowiak14-Jul-16 3:56 
QuestionHow can I get the index of immediate before special characters of a word in c# Pin
rohit kakria12-Jul-16 7:04
rohit kakria12-Jul-16 7:04 
AnswerRe: How can I get the index of immediate before special characters of a word in c# Pin
Richard Deeming12-Jul-16 7:13
mveRichard Deeming12-Jul-16 7:13 
A Regular Expression[^] is probably the simplest way:
C#
string input = @"hello world /* this is */ right way to get the index of /* track to */ alpha2 dummy text alpha dummy /* test */textalpha dummy text";
Regex pattern = new Regex(@"\/\*[^\*\/]*\*\/\s+alpha2");
Match match = pattern.Match(input);
if (match.Success)
{
    int theIndex = match.Index;
    ...
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: How can I get the index of immediate before special characters of a word in c# Pin
rohit kakria12-Jul-16 20:56
rohit kakria12-Jul-16 20:56 
GeneralRe: How can I get the index of immediate before special characters of a word in c# Pin
Richard MacCutchan12-Jul-16 21:23
mveRichard MacCutchan12-Jul-16 21:23 
Questionneed to recover password from this code Pin
Member 1155787712-Jul-16 4:27
Member 1155787712-Jul-16 4:27 
AnswerRe: need to recover password from this code Pin
Eddy Vluggen12-Jul-16 4:44
professionalEddy Vluggen12-Jul-16 4:44 
AnswerRe: need to recover password from this code Pin
Dave Kreskowiak12-Jul-16 5:17
mveDave Kreskowiak12-Jul-16 5:17 
AnswerRe: need to recover password from this code Pin
Patrice T12-Jul-16 8:43
mvePatrice T12-Jul-16 8:43 
AnswerRe: need to recover password from this code Pin
Gerry Schmitz12-Jul-16 11:48
mveGerry Schmitz12-Jul-16 11:48 
QuestionThe type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 2:47
Member 1224497212-Jul-16 2:47 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 2:53
professionalEddy Vluggen12-Jul-16 2:53 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:12
Member 1224497212-Jul-16 3:12 
QuestionRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:32
professionalEddy Vluggen12-Jul-16 3:32 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:45
Member 1224497212-Jul-16 3:45 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:56
professionalEddy Vluggen12-Jul-16 3:56 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Pete O'Hanlon12-Jul-16 4:00
mvePete O'Hanlon12-Jul-16 4:00 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 3:40
mveDave Kreskowiak12-Jul-16 3:40 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 4:12
Member 1224497212-Jul-16 4:12 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 4:15
mveDave Kreskowiak12-Jul-16 4:15 

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.