{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/docs/issues/9372","repository_url":"https://api.github.com/repos/dotnet/docs","labels_url":"https://api.github.com/repos/dotnet/docs/issues/9372/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/docs/issues/9372/comments","events_url":"https://api.github.com/repos/dotnet/docs/issues/9372/events","html_url":"https://github.com/dotnet/docs/issues/9372","id":387127238,"node_id":"MDU6SXNzdWUzODcxMjcyMzg=","number":9372,"title":"Name simplification","user":{"login":"alexv-r2r","id":44215019,"node_id":"MDQ6VXNlcjQ0MjE1MDE5","avatar_url":"https://avatars3.githubusercontent.com/u/44215019?v=4","gravatar_id":"","url":"https://api.github.com/users/alexv-r2r","html_url":"https://github.com/alexv-r2r","followers_url":"https://api.github.com/users/alexv-r2r/followers","following_url":"https://api.github.com/users/alexv-r2r/following{/other_user}","gists_url":"https://api.github.com/users/alexv-r2r/gists{/gist_id}","starred_url":"https://api.github.com/users/alexv-r2r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexv-r2r/subscriptions","organizations_url":"https://api.github.com/users/alexv-r2r/orgs","repos_url":"https://api.github.com/users/alexv-r2r/repos","events_url":"https://api.github.com/users/alexv-r2r/events{/privacy}","received_events_url":"https://api.github.com/users/alexv-r2r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-04T05:32:39Z","updated_at":"2018-12-04T05:32:39Z","closed_at":null,"author_association":"NONE","body":"In VisualStudio, typing the line from the second code snippet:\nConsole.WriteLine(header.Trim( new Char[] { ' ', '*', '.' } )); \nwill lead to a lightbulb warning \"Name can be simplified\" to \"new char[]\" instead, without capitalization.\n\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: dd91d4c1-d713-b8f1-958f-3547a5150428\n* Version Independent ID: 0a6a2496-ca04-fc7e-777f-8d2ef7bef1a6\n* Content: [Trimming and Removing Characters from Strings in .NET](https://docs.microsoft.com/en-us/dotnet/standard/base-types/trimming)\n* Content Source: [docs/standard/base-types/trimming.md](https://github.com/dotnet/docs/blob/master/docs/standard/base-types/trimming.md)\n* Product: **dotnet**\n* GitHub Login: @rpetrusha\n* Microsoft Alias: **ronpet**"}}
{"actor":{"display_login":"alexv-r2r"}}