Geilton Xaviergeiltonxavier.hashnode.dev·Dec 4, 2022What is more fasten, AsSpan or Substring in C#?In general, AsSpan is faster than Substring in C#. This is because AsSpan returns a span (a lightweight structure that represents a contiguous region of memory) that refers to a portion of the original string, whereas Substring creates a new string o...Discuss·3.0K readsasspan