<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Конвертировать int в String в шестнадцатеричном виде (hex) на C#? - Программирование				            </title>
            <link>https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/</link>
            <description>Обсуждение вопросов, посвященных программированию микроконтроллеров, разработке электроники и не только.</description>
            <language>ru-RU</language>
            <lastBuildDate>Thu, 10 Sep 2026 07:12:42 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>НА: Конвертировать int в String в шестнадцатеричном виде (hex) на C#?</title>
                        <link>https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3056</link>
                        <pubDate>Wed, 30 Oct 2024 10:12:37 +0000</pubDate>
                        <description><![CDATA[&#x1f44d;]]></description>
                        <content:encoded><![CDATA[
<p>Спасибо, оно - то что надо )</p>
<p></p>
<p>&#x1f44d;</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/programmirovanie/">Программирование</category>                        <dc:creator>Aveal MT</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3056</guid>
                    </item>
				                    <item>
                        <title>НА: Конвертировать int в String в шестнадцатеричном виде (hex) на C#?</title>
                        <link>https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3055</link>
                        <pubDate>Wed, 30 Oct 2024 10:02:02 +0000</pubDate>
                        <description><![CDATA[Спасибо, оно - то что надо )]]></description>
                        <content:encoded><![CDATA[
<p>Привет, так:</p>
<pre contenteditable="false">tempStr = $"0x{temp:X}</pre>
<p></p>
<p>Спасибо, оно - то что надо )</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/programmirovanie/">Программирование</category>                        <dc:creator>thefish</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3055</guid>
                    </item>
				                    <item>
                        <title>НА: Конвертировать int в String в шестнадцатеричном виде (hex) на C#?</title>
                        <link>https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3054</link>
                        <pubDate>Wed, 30 Oct 2024 09:26:55 +0000</pubDate>
                        <description><![CDATA[Привет, так:
tempStr = $&quot;0x{temp:X}]]></description>
                        <content:encoded><![CDATA[<p>Привет, так:</p>
<pre contenteditable="false">tempStr = $"0x{temp:X}</pre>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/programmirovanie/">Программирование</category>                        <dc:creator>Aveal MT</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3054</guid>
                    </item>
				                    <item>
                        <title>Конвертировать int в String в шестнадцатеричном виде (hex) на C#?</title>
                        <link>https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3053</link>
                        <pubDate>Wed, 30 Oct 2024 08:40:00 +0000</pubDate>
                        <description><![CDATA[Привет!
Делаю небольшую утилиту на C# для связи с контроллером, чтобы получать данные и производить управление (но это к сути особо не относится &#x1f642;)
Вопрос банальный - как преобразо...]]></description>
                        <content:encoded><![CDATA[<p>Привет!</p>
<p>Делаю небольшую утилиту на C# для связи с контроллером, чтобы получать данные и производить управление (но это к сути особо не относится &#x1f642;)</p>
<p>Вопрос банальный - как преобразовать число типа int в строку, только чтобы в строке оно было в шестнадцатеричном виде. То есть делаю так:</p>
<pre contenteditable="false">int temp = 0xFF001348;
String tempStr = temp.ToString();</pre>
<p>Получаю строку:</p>
<pre contenteditable="false">"4278195016"</pre>
<p>А хочу:</p>
<pre contenteditable="false">"0xFF001348"</pre>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/programmirovanie/">Программирование</category>                        <dc:creator>thefish</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/programmirovanie/konvertirovat-int-v-string-v-shestnadczaterichnom-vide-hex-na-c/#post-3053</guid>
                    </item>
							        </channel>
        </rss>
		