{"provider_url":"https://hatena.blog","height":"190","published":"2022-09-12 14:07:16","image_url":null,"author_url":"https://blog.hatena.ne.jp/baba_s/","provider_name":"Hatena Blog","url":"https://baba-s.hatenablog.com/entry/2022/09/12/140716","version":"1.0","categories":["C#"],"blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","type":"rich","blog_url":"https://baba-s.hatenablog.com/","title":"\u3010C#\u3011TryElementAt \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using System; using System.Collections.Generic; namespace Kogane { // ReSharper disable once InconsistentNaming public static class IEnumerableExtensionMethods { public static bool TryElementAt<TSource> ( this IEnumerable<TSource> source, int index, out TSource result ) { if ( source == null \u2026","author_name":"baba_s","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2022%2F09%2F12%2F140716\" title=\"\u3010C#\u3011TryElementAt \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}