<?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>Unboxing &#8211; Curso Online de C# .NET</title>
	<atom:link href="//www.tomasvasquez.com.br/cursocsharp/tag/unboxing/feed" rel="self" type="application/rss+xml" />
	<link>//www.tomasvasquez.com.br/cursocsharp</link>
	<description>Uma iniciativa de Tomás Vásquez</description>
	<lastBuildDate>Sun, 06 May 2018 04:22:10 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.8</generator>
	<item>
		<title>Unboxing</title>
		<link>//www.tomasvasquez.com.br/cursocsharp/tipos/unboxing</link>
		<pubDate>Sun, 16 Aug 2009 16:02:25 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Tipos]]></category>
		<category><![CDATA[Unboxing]]></category>

		<guid isPermaLink="false">//www.tomasvasquez.com.br/cursocsharp/?p=182</guid>
		<description><![CDATA[Para &#8220;voltar&#8221; o boxing, precisamos fazer um cast. Observe o exemplo abaixo. ... using System; public class Class1 { public static void Main() { int N1 = 10; object O; O = N1; // Boxing N1 = (int)O; // Unboxing string S1; Sl = "Valor:" + ((int)O).ToString(); // Unboxing S1.ToUpper(); Console.WriteLine(S1); } } ... Caso &#8230; <a href="//www.tomasvasquez.com.br/cursocsharp/tipos/unboxing" class="more-link">Continue lendo <span class="screen-reader-text">Unboxing</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Para &#8220;voltar&#8221; o boxing, precisamos fazer um cast. Observe o exemplo abaixo.</p>
<pre lang="csharp" line="1">...
using System;
 
public class Class1
{
      public static void Main()
      {
            int N1 = 10;
            object O;
            O = N1;                            // Boxing
            N1 = (int)O;                       // Unboxing string S1;
            Sl = "Valor:" + ((int)O).ToString(); // Unboxing S1.ToUpper();
            Console.WriteLine(S1);
      }
}
...</pre>
<p>Caso o “cast” seja inválido, uma exception é gerada.</p>
]]></content:encoded>
			</item>
	</channel>
</rss>
