Click here to Skip to main content
14,330,541 members
   

C#

 
AnswerRe: reading text file as an array by using streamreader Pin
OriginalGriff28-Aug-19 19:56
protectorOriginalGriff28-Aug-19 19:56 
AnswerRe: reading text file as an array by using streamreader Pin
Richard MacCutchan28-Aug-19 21:27
protectorRichard MacCutchan28-Aug-19 21:27 
QuestionRe: reading text file as an array by using streamreader Pin
Maciej Los28-Aug-19 21:42
protectorMaciej Los28-Aug-19 21:42 
AnswerRe: reading text file as an array by using streamreader Pin
Maciej Los28-Aug-19 22:32
protectorMaciej Los28-Aug-19 22:32 
AnswerRe: reading text file as an array by using streamreader Pin
BillWoodruff28-Aug-19 23:04
mveBillWoodruff28-Aug-19 23:04 
AnswerRe: reading text file as an array by using streamreader Pin
Gene M10-Sep-19 14:48
memberGene M10-Sep-19 14:48 
AnswerRe: reading text file as an array by using streamreader Pin
Jacek Gajek12-Sep-19 9:35
memberJacek Gajek12-Sep-19 9:35 
QuestionTool to add code in my existing class Pin
Bastien Vandamme28-Aug-19 5:48
memberBastien Vandamme28-Aug-19 5:48 
I would like to know if a toll exist to "inject" code in existing class. I'm thinking about a system working with attribute. These attributes are not used at compile or runtime but just to specify part of code I want to inject during coding.

For example attribute [LogThis]
[LogThis]
private void ConsoleTextBox_TextChanged(object sender, TextChangedEventArgs e)
{
    consoleTextBox.ScrollToEnd();
}

Then I run a tool that will add log to all [LogThis] methods
[LogThis]
private void ConsoleTextBox_TextChanged(object sender, TextChangedEventArgs e)
{
    log.Trace("starting ConsoleTextBox_TextChanged");
    consoleTextBox.ScrollToEnd();
}

Does somthin similar exists?
AnswerRe: Tool to add code in my existing class Pin
Richard MacCutchan28-Aug-19 5:54
protectorRichard MacCutchan28-Aug-19 5:54 
AnswerRe: Tool to add code in my existing class Pin
Richard Deeming28-Aug-19 7:47
mveRichard Deeming28-Aug-19 7:47 
AnswerRe: Tool to add code in my existing class Pin
BillWoodruff28-Aug-19 18:35
mveBillWoodruff28-Aug-19 18:35 
QuestionValidating textbox value against an excel worksheet and append to datagridview Pin
Member 1457117728-Aug-19 4:51
memberMember 1457117728-Aug-19 4:51 
AnswerRe: Validating textbox value against an excel worksheet and append to datagridview Pin
ZurdoDev28-Aug-19 5:20
professionalZurdoDev28-Aug-19 5:20 
AnswerRe: Validating textbox value against an excel worksheet and append to datagridview Pin
OriginalGriff28-Aug-19 5:23
protectorOriginalGriff28-Aug-19 5:23 
GeneralRe: Validating textbox value against an excel worksheet and append to datagridview Pin
BillWoodruff28-Aug-19 18:49
mveBillWoodruff28-Aug-19 18:49 
AnswerRe: Validating textbox value against an excel worksheet and append to datagridview Pin
BillWoodruff28-Aug-19 18:46
mveBillWoodruff28-Aug-19 18:46 
GeneralRe: Validating textbox value against an excel worksheet and append to datagridview Pin
Member 1457117728-Aug-19 21:21
memberMember 1457117728-Aug-19 21:21 
GeneralRe: Validating textbox value against an excel worksheet and append to datagridview Pin
BillWoodruff28-Aug-19 22:57
mveBillWoodruff28-Aug-19 22:57 
QuestionRead Portion of text from Text File Pin
Member 1398003226-Aug-19 19:39
memberMember 1398003226-Aug-19 19:39 
AnswerRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 20:27
protectorOriginalGriff26-Aug-19 20:27 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 20:41
memberMember 1398003226-Aug-19 20:41 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 21:07
mvephil.o26-Aug-19 21:07 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:31
memberMember 1398003226-Aug-19 21:31 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 21:39
mvephil.o26-Aug-19 21:39 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:41
memberMember 1398003226-Aug-19 21:41 

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.