<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Biggle&#039;s Blog &#187; Quicky</title>
	<atom:link href="http://www.biggle.de/blog/tag/quicky/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biggle.de/blog</link>
	<description>Web- und Software Development</description>
	<lastBuildDate>Sat, 31 Jul 2010 14:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Schriftzeichen hochstellen &#124; Office Quicky</title>
		<link>http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky</link>
		<comments>http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky#comments</comments>
		<pubDate>Thu, 29 Jul 2010 07:23:17 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Applikation]]></category>
		<category><![CDATA[Tipps]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=5016</guid>
		<description><![CDATA[Heute hab ich was nettes entdeckt, vielleicht kennt das schon die ganze Welt : ) ich aber bisher noch nicht. Wenn Du Dich innerhalb eines OneNote oder Word Dokuments befindest und die Strg-* Tastenkombination drückst, schreibst du ab der Stelle hochgestellt weiter (in Powerpoint wird auf tiefgestellt umgeschalten). Vor einigen Tagen hätte ich das gut gebrauchen [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hab ich was nettes entdeckt, vielleicht kennt das schon die ganze Welt : ) ich aber bisher noch nicht. Wenn Du Dich innerhalb eines OneNote oder Word Dokuments befindest und die Strg-* Tastenkombination drückst, schreibst du ab der Stelle hochgestellt weiter (in Powerpoint wird auf tiefgestellt umgeschalten).</p>
<p>Vor einigen Tagen hätte ich das gut gebrauchen können, da wollte ich hoch 4 darstellen.. Nun weiss ich ja wie es geht : )</p>
<p><a href="http://www.biggle.de/blog/wp-content/uploads/2010/07/schriftzeichenhochstellen.png"><img class="alignnone size-full wp-image-5017" title="schriftzeichenhochstellen" src="http://www.biggle.de/blog/wp-content/uploads/2010/07/schriftzeichenhochstellen.png" alt="" width="294" height="141" /></a></p>
<p><br class="spacer_" /></p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de">Mario Priebe</a>.</p><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>21. Juni 2010 -- <a href="http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky" title="Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky">Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky</a></li><li>1. November 2008 -- <a href="http://www.biggle.de/blog/interne-brennfunktion-ausschalten-quicky-tipps-vista" title="Interne Brennfunktion ausschalten &#8211; Quicky Tipps &#8211;  Vista">Interne Brennfunktion ausschalten &#8211; Quicky Tipps &#8211;  Vista</a></li><li>1. November 2008 -- <a href="http://www.biggle.de/blog/shortcuts-neustart-ausschalten-quicky-tipps-vista-xp" title="Shortcuts Neustart / Ausschalten &#8211; Quicky Tipps &#8211;  Vista, XP">Shortcuts Neustart / Ausschalten &#8211; Quicky Tipps &#8211;  Vista, XP</a></li><li>26. Juli 2010 -- <a href="http://www.biggle.de/blog/enumeration-im-wcf-service" title="Enumeration im WCF Service">Enumeration im WCF Service</a></li><li>19. Juli 2010 -- <a href="http://www.biggle.de/blog/msi-paket-ohne-installation-entpacken" title="MSI Paket ohne Installation entpacken">MSI Paket ohne Installation entpacken</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Explorer.exe mit Arbeitsplatz öffnen &#124; Windows7 Quicky</title>
		<link>http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky</link>
		<comments>http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky#comments</comments>
		<pubDate>Mon, 21 Jun 2010 21:15:32 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Tipps]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[Windows7]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=4873</guid>
		<description><![CDATA[Wenn man normalerweise auf den ExplorerButton in der Taskleiste klickt, wird man direkt zu den Bibliotheken verwiesen. Will man hier aber lieber den Arbeitsplatz öffnen, dann klickt man in der Taskleiste das Explorer-Icon mit der rechten Maustaste, geht dann auf Windows-Explorer wieder mit der rechten Maustaste und dann auf Eigenschaften. Hier kann dann der Zielpfad [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Wenn man normalerweise auf den ExplorerButton in der Taskleiste klickt, wird man direkt zu den Bibliotheken verwiesen. Will man hier aber lieber den Arbeitsplatz öffnen, dann klickt man in der Taskleiste das Explorer-Icon mit der rechten Maustaste, geht dann auf Windows-Explorer wieder mit der rechten Maustaste und dann auf Eigenschaften.</p>
<p><a href="http://www.biggle.de/blog/wp-content/uploads/2010/06/explorer.png"><img class="alignnone size-full wp-image-4874" title="explorer" src="http://www.biggle.de/blog/wp-content/uploads/2010/06/explorer.png" alt="" width="367" height="425" /></a></p>
<p>Hier kann dann der Zielpfad beliebig angepasst werden.</p>
<p><a href="http://www.biggle.de/blog/wp-content/uploads/2010/06/explorer2.png"><img class="alignnone size-full wp-image-4875" title="explorer2" src="http://www.biggle.de/blog/wp-content/uploads/2010/06/explorer2.png" alt="" width="377" height="533" /></a></p>
<p>Um auf den Arbeitsplatz (Computer) zu verweisen trägt man hier bei Ziel</p>
<p>
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">%</span>SystemRoot<span style="color: #339933;">%</span>\explorer<span style="color: #339933;">.</span>exe <span style="color: #339933;">/</span>e<span style="color: #339933;">,</span></pre></div></div>

</p>
<p>ein (Kommata am Ende wichtig!). Weiterhin können auch alle verfügbaren Umgebungsvariablen verwendet werden. Wenn man z.B.</p>
<p>
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">%</span>WinDir<span style="color: #339933;">%</span>\explorer<span style="color: #339933;">.</span>exe <span style="color: #339933;">%</span>UserProfile<span style="color: #339933;">%</span></pre></div></div>

</p>
<p>unter dem Zielpfad einträgt, öffnet ein Klick auf den Explorer-Icon das Benutzerverzeichnis.</p>
<p>Also, den Explorer starten wie es gefällt&#8230; probiere es einfach aus : )</p>
</div>
<p><br class="spacer_" /></p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de">Mario Priebe</a>.</p><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>29. Juli 2010 -- <a href="http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky" title="Schriftzeichen hochstellen | Office Quicky">Schriftzeichen hochstellen | Office Quicky</a></li><li>1. November 2008 -- <a href="http://www.biggle.de/blog/interne-brennfunktion-ausschalten-quicky-tipps-vista" title="Interne Brennfunktion ausschalten &#8211; Quicky Tipps &#8211;  Vista">Interne Brennfunktion ausschalten &#8211; Quicky Tipps &#8211;  Vista</a></li><li>1. November 2008 -- <a href="http://www.biggle.de/blog/shortcuts-neustart-ausschalten-quicky-tipps-vista-xp" title="Shortcuts Neustart / Ausschalten &#8211; Quicky Tipps &#8211;  Vista, XP">Shortcuts Neustart / Ausschalten &#8211; Quicky Tipps &#8211;  Vista, XP</a></li><li>26. Juli 2010 -- <a href="http://www.biggle.de/blog/enumeration-im-wcf-service" title="Enumeration im WCF Service">Enumeration im WCF Service</a></li><li>19. Juli 2010 -- <a href="http://www.biggle.de/blog/msi-paket-ohne-installation-entpacken" title="MSI Paket ohne Installation entpacken">MSI Paket ohne Installation entpacken</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generic.List sortieren &#124; C# Quicky</title>
		<link>http://www.biggle.de/blog/generic-list-sortieren-csharp-quicky</link>
		<comments>http://www.biggle.de/blog/generic-list-sortieren-csharp-quicky#comments</comments>
		<pubDate>Mon, 07 Jun 2010 15:40:47 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=4683</guid>
		<description><![CDATA[Um eine generische Liste zu sortieren kann man die Sort Methode auf folgender Art und Weise überschreiben: 1 2 3 public List&#60;Begegnung&#62; Begegnungen &#123; get; set; &#125; &#160; Begegnungen.Sort&#40;&#40;x, y&#41; =&#62; DateTime.Compare&#40;&#40;DateTime&#41; x.Spiel.DatumUhrzeit, &#40;DateTime&#41; y.Spiel.DatumUhrzeit&#41;&#41;; Viel Spass beim entwickeln : ) Dieser Beitrag stammt von Mario Priebe.Ähnliche Beiträge25. Oktober 2009 -- String nach Pascal- und [...]]]></description>
			<content:encoded><![CDATA[<p>Um eine generische Liste zu sortieren kann man die Sort Methode auf folgender Art und Weise überschreiben:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> List<span style="color: #339933;">&lt;</span>Begegnung<span style="color: #339933;">&gt;</span> Begegnungen <span style="color: #009900;">&#123;</span> get<span style="color: #339933;">;</span> set<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
Begegnungen<span style="color: #339933;">.</span><span style="color: #990000;">Sort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> y<span style="color: #009900;">&#41;</span> <span style="color: #339933;">=&gt;</span> DateTime<span style="color: #339933;">.</span>Compare<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>DateTime<span style="color: #009900;">&#41;</span> x<span style="color: #339933;">.</span>Spiel<span style="color: #339933;">.</span>DatumUhrzeit<span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span>DateTime<span style="color: #009900;">&#41;</span> y<span style="color: #339933;">.</span>Spiel<span style="color: #339933;">.</span>DatumUhrzeit<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><br class="spacer_" /></p>
<p>Viel Spass beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de">Mario Priebe</a>.</p><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>25. Oktober 2009 -- <a href="http://www.biggle.de/blog/string-nach-pascal-und-camelcase-c-quicky" title="String nach Pascal- und CamelCase &#8211; C# Quicky">String nach Pascal- und CamelCase &#8211; C# Quicky</a></li><li>21. Januar 2010 -- <a href="http://www.biggle.de/blog/extension-method-string-reverse-csharp" title="Extension Method String.Reverse() &#8211; C# Quicky ">Extension Method String.Reverse() &#8211; C# Quicky </a></li><li>22. Dezember 2009 -- <a href="http://www.biggle.de/blog/windows-neu-starten-wpf-quicky" title="Windows neu starten &#8211; WPF Quicky">Windows neu starten &#8211; WPF Quicky</a></li><li>22. Dezember 2009 -- <a href="http://www.biggle.de/blog/restart-neustart-wpf-applikation" title="Restart einer WPF Applikation">Restart einer WPF Applikation</a></li><li>12. Oktober 2009 -- <a href="http://www.biggle.de/blog/linq-tools" title="LINQ Tools">LINQ Tools</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/generic-list-sortieren-csharp-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>String nach Enum casten &#124; C# Quicky</title>
		<link>http://www.biggle.de/blog/string-nach-enum-casten-c-quicky</link>
		<comments>http://www.biggle.de/blog/string-nach-enum-casten-c-quicky#comments</comments>
		<pubDate>Fri, 28 May 2010 09:57:30 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=4656</guid>
		<description><![CDATA[Der Fall das man ein Objekt in ein anderes Objekt mappen muss kommt doch recht häufig vor. Auf der einen Seite hat man eine Aufzählung und auf der anderen Seite einen String oder einen numerischen Wert. Folgende Zuweisungen zeigen, wie man den String oder eben einen numerischen Wert in eine Enumeration casten kann. Einfacher Cast, [...]]]></description>
			<content:encoded><![CDATA[<p>Der Fall das man ein Objekt in ein anderes Objekt mappen muss kommt doch recht häufig vor. Auf der einen Seite hat man eine Aufzählung und auf der anderen Seite einen String oder einen numerischen Wert.</p>
<p>Folgende Zuweisungen zeigen, wie man den String oder eben einen numerischen Wert in eine Enumeration casten kann.</p>
<p><br class="spacer_" /></p>
<p>Einfacher Cast, String nach Object</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> a1 <span style="color: #339933;">=</span> Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Herr&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>IgnoreCase &#8211; ignoriert Gross- und Kleinschreibung &#8211; Standard ist false</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> a2 <span style="color: #339933;">=</span> Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;frau&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Rückgabe in ein Enum</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Enum a3 <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>Enum<span style="color: #009900;">&#41;</span>Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Familie&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Rückgabe in ein Object</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">object a4 <span style="color: #339933;">=</span> Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Firma&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Rückgabe in ein String</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">string a5 <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;OhneAnrede&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>ToString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Durch Übergabe eines numerischen Wertes</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> a6 <span style="color: #339933;">=</span> Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Ob ein Wert in der Aufzählung aufgeführt ist, prüft man mit IsDefined</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">string a7<span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>Enum<span style="color: #339933;">.</span>IsDefined<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;OhneAnrede&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    a7 <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;OhneAnrede&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>ToString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Dieser Aufruf funktioniert nicht, da es nicht in einen unbekannten Type umgewandelt werden kann</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> a7<span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>Enum<span style="color: #339933;">.</span>IsDefined<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;OhneAnrede&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    a7 <span style="color: #339933;">=</span> Enum<span style="color: #339933;">.</span>Parse<span style="color: #009900;">&#40;</span>typeof<span style="color: #009900;">&#40;</span>MyEnum<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;OhneAnrede&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><br class="spacer_" /></p>
<p>Die entsprechende Enum sieht für das Beispiel wie folgt aus:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> enum MyEnum
<span style="color: #009900;">&#123;</span>
    Herr<span style="color: #339933;">,</span>
    Frau<span style="color: #339933;">,</span>
    Familie<span style="color: #339933;">,</span>
    Firma<span style="color: #339933;">,</span>
    OhneAnrede
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Viel Spass beim entwicklen : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de">Mario Priebe</a>.</p><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>29. Juli 2010 -- <a href="http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky" title="Schriftzeichen hochstellen | Office Quicky">Schriftzeichen hochstellen | Office Quicky</a></li><li>21. Juni 2010 -- <a href="http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky" title="Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky">Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky</a></li><li>7. Juni 2010 -- <a href="http://www.biggle.de/blog/generic-list-sortieren-csharp-quicky" title="Generic.List<T> sortieren | C# Quicky">Generic.List<T> sortieren | C# Quicky</a></li><li>28. Mai 2010 -- <a href="http://www.biggle.de/blog/der-unterschied-zwischen-tostring-string-und-convert-tostring" title="Der Unterschied zwischen .ToString(), (String) und Convert.ToString()">Der Unterschied zwischen .ToString(), (String) und Convert.ToString()</a></li><li>26. Mai 2010 -- <a href="http://www.biggle.de/blog/wcf-service-im-unittest-referenzieren-net-quicky" title="WCF Service im UnitTest referenzieren | .NET Quicky">WCF Service im UnitTest referenzieren | .NET Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/string-nach-enum-casten-c-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Der Unterschied zwischen .ToString(), (String) und Convert.ToString()</title>
		<link>http://www.biggle.de/blog/der-unterschied-zwischen-tostring-string-und-convert-tostring</link>
		<comments>http://www.biggle.de/blog/der-unterschied-zwischen-tostring-string-und-convert-tostring#comments</comments>
		<pubDate>Fri, 28 May 2010 08:11:52 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=4652</guid>
		<description><![CDATA[Im folgenden kurz an Codebeispielen dargestellt, wo der Unterschied zwischen .ToString(), (String) und Convert.ToString() liegt. Convert.ToString() schreibt einen leeren String object o = null; var s = Convert.ToString&#40;o&#41;; ToString() wirft eine NullReferenceException object o1 = null; var s1 = o1.ToString&#40;&#41;; (String) Schreibt NULL in den String, bei dem Versuch s2 weiter zuverwenden knallt natürlich die [...]]]></description>
			<content:encoded><![CDATA[<p>Im folgenden kurz an Codebeispielen dargestellt, wo der Unterschied zwischen .ToString(), (String) und Convert.ToString() liegt.</p>
<p>Convert.ToString() schreibt einen leeren String</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">object o <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">var</span> s <span style="color: #339933;">=</span> Convert<span style="color: #339933;">.</span>ToString<span style="color: #009900;">&#40;</span>o<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>ToString() wirft eine NullReferenceException</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">object o1 <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">var</span> s1 <span style="color: #339933;">=</span> o1<span style="color: #339933;">.</span>ToString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>(String) Schreibt NULL in den String, bei dem Versuch s2 weiter zuverwenden knallt natürlich die NullReferenceException</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">object o2 <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">var</span> s2 <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span>o2<span style="color: #339933;">;</span></pre></div></div>

<p><br class="spacer_" /></p>
<p>Viel Spass am entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de">Mario Priebe</a>.</p><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>29. Juli 2010 -- <a href="http://www.biggle.de/blog/schriftzeichen-hochstellen-office-quicky" title="Schriftzeichen hochstellen | Office Quicky">Schriftzeichen hochstellen | Office Quicky</a></li><li>21. Juni 2010 -- <a href="http://www.biggle.de/blog/explorer-exe-mit-arbeitsplatz-offnen-windows7-quicky" title="Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky">Explorer.exe mit Arbeitsplatz öffnen | Windows7 Quicky</a></li><li>7. Juni 2010 -- <a href="http://www.biggle.de/blog/generic-list-sortieren-csharp-quicky" title="Generic.List<T> sortieren | C# Quicky">Generic.List<T> sortieren | C# Quicky</a></li><li>28. Mai 2010 -- <a href="http://www.biggle.de/blog/string-nach-enum-casten-c-quicky" title="String nach Enum casten | C# Quicky">String nach Enum casten | C# Quicky</a></li><li>26. Mai 2010 -- <a href="http://www.biggle.de/blog/wcf-service-im-unittest-referenzieren-net-quicky" title="WCF Service im UnitTest referenzieren | .NET Quicky">WCF Service im UnitTest referenzieren | .NET Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/der-unterschied-zwischen-tostring-string-und-convert-tostring/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
