Input:
internal static class Thing
{
internal static List<string> Urls { get; } =
[
"https://google.com",
"https://bing.com",
"https://duckduckgo.com",
"https://yahoo.com",
"https://github.com",
];
}
Output:
internal static class Thing
{
internal static List<string> Urls { get; } =
[
"https://google.com",
"https://bing.com",
"https://duckduckgo.com",
"https://yahoo.com",
"https://github.com",
];
}
Expected behavior:
internal static class Thing
{
internal static List<string> Urls { get; } =
[
"https://google.com",
"https://bing.com",
"https://duckduckgo.com",
"https://yahoo.com",
"https://github.com",
];
}
Extra stuff:
I think the following shorter options make sense (csharpier already does this)
internal static class Thing
{
internal static List<string> Urls { get; } = ["https://google.com", "https://bing.com"];
}
internal static class Thing
{
internal static List<string> Urls { get; } =
["https://google.com", "https://bing.com", "https://duckduckgo.com"];
}
Input:
Output:
Expected behavior:
Extra stuff:
I think the following shorter options make sense (csharpier already does this)