A sample code:
const string UtcTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffZ";
public byte[] UtcTimeAscii => Encoding.ASCII.GetBytes(DateTime.UtcNow.ToString(UtcTimeFormat));
Here's what I got as IL for Length property: (Using Microscope VS add in)

Now: why is there a system call instead of just plain 24?
It's a constant string. Is there a way to tell the compiler it's known ahead-of-time?
I know, I can define 24 as const int, but it's not right, because there would be no direct binding between the actual string and its length. Of course I can call Length() but I'm just curious, maybe is there a special syntax to use that kind of optimization?
I also switched the configuration from Debug to Release but the system call remained.