Added marginal search. Some refactoring

This commit is contained in:
Simon Martens
2022-11-11 02:15:45 +01:00
parent 3327155eb5
commit 8c26cb44d0
24 changed files with 361 additions and 186 deletions

View File

@@ -3,7 +3,7 @@ using System.Web;
namespace HaWeb.HTMLHelpers;
public static class StringHelpers {
public static string GetEnumerationString(IEnumerable<string> strlist) {
var res = "";
var res = string.Empty;
foreach (var str in strlist) {
if (str != strlist.First())
if (str == strlist.Last())