Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting first paragraph of wikipedia using Voice C# Pin
Eddy Vluggen28-Jul-18 1:27
professionalEddy Vluggen28-Jul-18 1:27 
AnswerRe: Getting first paragraph of wikipedia using Voice C# Pin
CP_Member88829-Jul-18 19:25
CP_Member88829-Jul-18 19:25 
QuestionPlotting a line graph in c# and retaining the previous graphs. Pin
Dipk1123-Jul-18 0:51
Dipk1123-Jul-18 0:51 
AnswerRe: Plotting a line graph in c# and retaining the previous graphs. Pin
OriginalGriff23-Jul-18 2:04
mveOriginalGriff23-Jul-18 2:04 
GeneralRe: Plotting a line graph in c# and retaining the previous graphs. Pin
Dipk1123-Jul-18 20:52
Dipk1123-Jul-18 20:52 
GeneralRe: Plotting a line graph in c# and retaining the previous graphs. Pin
Gerry Schmitz24-Jul-18 10:27
mveGerry Schmitz24-Jul-18 10:27 
Questioncreate separate XML file based on html tags in a string in C# Pin
sudipta saha20-Jul-18 19:40
sudipta saha20-Jul-18 19:40 
AnswerRe: create separate XML file based on html tags in a string in C# Pin
Eddy Vluggen20-Jul-18 23:46
professionalEddy Vluggen20-Jul-18 23:46 
sudipta saha wrote:
I want to create a separate xml file based on <abcd><xyz> and </xyz></abcd> these xml tags eg : <abcd><xyz>testingmessage like this</xyz></abcd> consider as one xml file .
Yuck.

sudipta saha wrote:
I know it's a substring search in a string in C# but is there any fastest way to do this or any other way to achieve this .
There is no competition in which we determine which algo is "the fastest". Search for Boyer Moore, there's examples on Google.

"Inserting" will always be slow, as the entire file has to be written for every change that is not simply appended. If your dataset changes often, you should use a (portable) database, not XML. That would also simplify querying your data.

sudipta saha wrote:
I have to do this in C# or can I do this using javascript .
Any language that supports string-manipulation.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

AnswerRe: create separate XML file based on html tags in a string in C# Pin
Gerry Schmitz22-Jul-18 8:59
mveGerry Schmitz22-Jul-18 8:59 
GeneralC# Program Control Flow Pin
etl201620-Jul-18 11:20
etl201620-Jul-18 11:20 
GeneralRe: C# Program Control Flow Pin
OriginalGriff20-Jul-18 20:04
mveOriginalGriff20-Jul-18 20:04 
GeneralRe: C# Program Control Flow Pin
Gerry Schmitz22-Jul-18 8:45
mveGerry Schmitz22-Jul-18 8:45 
GeneralRe: C# Program Control Flow Pin
Richard Deeming23-Jul-18 1:54
mveRichard Deeming23-Jul-18 1:54 
QuestionPlacing a control in a vertically scrolled panel Pin
Member 1207484919-Jul-18 13:40
Member 1207484919-Jul-18 13:40 
AnswerRe: Placing a control in a vertically scrolled panel Pin
BillWoodruff19-Jul-18 19:41
professionalBillWoodruff19-Jul-18 19:41 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Member 1207484920-Jul-18 6:12
Member 1207484920-Jul-18 6:12 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Gerry Schmitz20-Jul-18 8:55
mveGerry Schmitz20-Jul-18 8:55 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Member 1207484921-Jul-18 5:57
Member 1207484921-Jul-18 5:57 
GeneralRe: Placing a control in a vertically scrolled panel Pin
BillWoodruff22-Jul-18 2:45
professionalBillWoodruff22-Jul-18 2:45 
AnswerRe: Placing a control in a vertically scrolled panel Pin
Luc Pattyn22-Jul-18 10:54
sitebuilderLuc Pattyn22-Jul-18 10:54 
QuestionTCPClient to multiple systems Pin
Gopi Nath18-Jul-18 21:05
Gopi Nath18-Jul-18 21:05 
GeneralRe: TCPClient to multiple systems Pin
Richard MacCutchan18-Jul-18 21:30
mveRichard MacCutchan18-Jul-18 21:30 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Gopi Nath18-Jul-18 22:32
Gopi Nath18-Jul-18 22:32 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Richard MacCutchan18-Jul-18 22:42
mveRichard MacCutchan18-Jul-18 22:42 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Gopi Nath18-Jul-18 22:58
Gopi Nath18-Jul-18 22:58 

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.