Rosetta Code/Find unimplemented tasks: Difference between revisions
Rosetta Code/Find unimplemented tasks (view source)
Revision as of 21:49, 9 October 2022
, 1 year agoUndo revision 331505 by Tigerofdarkness (talk) Undo cmcontinue and related changes
(→{{header|C sharp|C#}}: Fixed cmcontinue for the latest RC) |
(Undo revision 331505 by Tigerofdarkness (talk) Undo cmcontinue and related changes) Tag: Undo |
||
Line 333:
=={{header|C sharp|C#}}==
Using JSON (not parsed, just Regex.)
To help demonstrate paging, the cmlimit parameter has been omitted from the search query so that 10 rows are returned by default
<syntaxhighlight lang="csharp">using System;
using System.Collections.Generic;
Line 364:
//detect if more results are available
cmcontinue = Regex.Match(content, @"{""cmcontinue"":""([^""]+)""}", RegexOptions.IgnoreCase).Groups["1"].Value;
} while (cmcontinue.Length > 0);
|