Skip to content
Enes Okullu edited this page Mar 15, 2026 · 3 revisions

SubtitleBlock is a class to hold values of each block.

class SubtitleBlock
{
public int OrderNumber;

public TimeSpan StartTime;

public Timespan EndTime;

public List<string> InlineTextList;
}

Override ToString()

$"{OrderNumber} {StartTime} {EndTime} {string.Join(" ", InlineTextList)}";

Returns string format of SubtitleBlock as "OrderNumber StartTime EndTime InlineTextList"

Clone this wiki locally