<p>I'm just wondering if it exists better solution for this.</p>

<pre><code>BitConverter.ToInt32(sample_guid.ToByteArray(), 0)
</code></pre>

[{'answer_id': 45581, 'author': 'Ishmaeel', 'author_id': 227, 'author_profile': 'https://Stackoverflow.com/users/227', 'pm_score': 0, 'selected': False, 'text': "<p>Dunno about a better solution, but I hope you don't intend to use that Int32 as a random (or unique) value. </p>\n\n<p>You cannot depend on any sub part of a Guid to be unique. Guid is assumed to be unique, only in its entirety.</p>\n"}, {'answer_id': 156762, 'author': 'Dave Van den Eynde', 'author_id': 455874, 'author_profile': 'https://Stackoverflow.com/users/455874', 'pm_score': 3, 'selected': True, 'text': "<p>I don't think there's a better solution than this. </p>\n"}, {'answer_id': 157822, 'author': 'Jeff', 'author_id': 23902, 'author_profile': 'https://Stackoverflow.com/users/23902', 'pm_score': 1, 'selected': False, 'text': "<p>I don't know if it's better, but it is easier to read:</p>\n\n<p>Int32.Parse(sample_guid.ToString().SubString(0,1));</p>\n\n<p>I'm a junior developer, admittedly, but the above reads easier to me than a byte conversion, and on a modern computer it would run indistinguishably quickly.</p>\n"}]
['https://Stackoverflow.com/questions/45572', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3182/']