<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>A little bit of everything...</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/peterj/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/peterj/feed.xml</link>
    <description>Office development, VSTO, Sharepoint</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:06:53 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using params keyword</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/using-params-keyword</link>
      <pubDate>Thu, 02 Apr 2009 06:44:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2009/04/02/using-params-keyword/</guid>
      <description><![CDATA[Let’s say you have a class and you want to store a collection of strings in that class. How would...]]></description>
      <content:encoded><![CDATA[<p>Let’s say you have a class and you want to store a collection of strings in that class. How would your method look like which would let you add a string to the class? </p>  <div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">   <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">     <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">class</span> SampleClass</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>  {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>      <span style="color: #0000ff">private</span> List&lt;<span style="color: #0000ff">string</span>&gt; myList = <span style="color: #0000ff">null</span>; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>      <span style="color: #0000ff">public</span> SampleClass()</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>      {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>          myList = <span style="color: #0000ff">new</span> List&lt;<span style="color: #0000ff">string</span>&gt;(); </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>      }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>  }</pre>
<!--CRLF--></div>
</div>

<p>There are a couple of ways you could write the method; it also depends on what are you trying to achieve. Below are some of the samples how you could do this (yes, I know, there are probably million other ways to do this :)): </p>

<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> AddItem(<span style="color: #0000ff">string</span> item)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #008000">// Do something </span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> AddItems(List&lt;<span style="color: #0000ff">string</span>&gt; items)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span> { </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     <span style="color: #008000">// Do something </span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span> }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> AddItems (<span style="color: #0000ff">string</span> [] items) </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>     <span style="color: #008000">// Do something </span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span> }</pre>
<!--CRLF--></div>
</div>

<p></p>

<p></p>

<p>Every method above has it’s benefits and drawbacks – I have to pass in an array of string, I can only pass in one string a the time, sometimes I want to pass in 3 strings and sometimes 1 – why can’t I use one method only?). 
  <br />

  <br />There’s a keyword called “params” you could use to solve this problem – with this keyword you can pass in as many parameters as you like; for example all calls below are made to the same method: </p>

<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> SampleClass my = <span style="color: #0000ff">new</span> SampleClass();</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> my.AddItems(<span style="color: #006080">&quot;One&quot;</span>); </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> my.AddItems(<span style="color: #006080">&quot;One&quot;</span>, <span style="color: #006080">&quot;Two&quot;</span>);</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> my.AddItems(<span style="color: #006080">&quot;One&quot;</span>, <span style="color: #006080">&quot;Two&quot;</span>, <span style="color: #006080">&quot;Three&quot;</span>); </pre>
<!--CRLF--></div>
</div>

<p>And here’s how the method would look like: </p>

<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> AddItems(<span style="color: #0000ff">params</span> <span style="color: #0000ff">string</span>[] items)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #0000ff">foreach</span> (<span style="color: #0000ff">string</span> item <span style="color: #0000ff">in</span> items)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     { </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>         <span style="color: #008000">// Do something</span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span> }</pre>
<!--CRLF--></div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Always check the most obvious things first</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/always-check-the-most-obvious-things-first</link>
      <pubDate>Thu, 04 Sep 2008 18:34:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/09/04/always-check-the-most-obvious-things-first/</guid>
      <description><![CDATA[I spent a while or so on this 'issue' I had. Basically it's not even an issue, it's an expected...]]></description>
      <content:encoded><![CDATA[<P>I spent a while or so on this 'issue' I had. Basically it's not even an issue, it's an expected behavior (if you now what the expected behavior should be). I was using a Guid class to create a new guid in a project which would be used later in the application (guid is passed on to another part of the system). Here's the code I had: </P>
<P>&nbsp;Guid myGuid = new Guid(); </P>
<P>Everything worked fine, no errors, no exceptions, nothing.&nbsp;If you check 'myGuid' you would see that the guid is indeed assigned to the variable. But the problem is that the guid is empty (e.g. {000...000}). Instead of spending time on researching what else could went wrong, I didn't even think about that line. Once I changed the above line to: Guid myGuid = Guid.NewGuid () - everything was working fine. </P>
<P>I guess the 'lesson' is - check the most obvious things first - I usually tend to skip over the obvious stuff because 'I know that's right' and 'It can't be that simple'. Well, looks like sometimes it is :) </P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio SharePoint Tools blog is here</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/visual-studio-sharepoint-tools-blog-is-here</link>
      <pubDate>Tue, 01 Jul 2008 19:24:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/07/01/visual-studio-sharepoint-tools-blog-is-here/</guid>
      <description><![CDATA[First post is published! 
If you are interested in SharePoint, Visual Studio, Office, VSTO or any...]]></description>
      <content:encoded><![CDATA[<P><A class="" href="https://blogs.msdn.com/vssharepointtoolsblog/archive/2008/07/01/welcome-to-the-visual-studio-sharepoint-tools-blog.aspx" mce_href="https://blogs.msdn.com/vssharepointtoolsblog/archive/2008/07/01/welcome-to-the-visual-studio-sharepoint-tools-blog.aspx">First post is published!</A> </P>
<P>If you are interested in SharePoint, Visual Studio, Office, VSTO or any other combination you should head over to our team blog (<A href="https://blogs.msdn.com/vssharepointtoolsblog">https://blogs.msdn.com/vssharepointtoolsblog</A>)&nbsp;and subscribe to it. </P>]]></content:encoded>
    </item>
    <item>
      <title>Can you speak Japanese?</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/can-you-speak-japanese</link>
      <pubDate>Tue, 06 May 2008 19:18:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/05/06/can-you-speak-japanese/</guid>
      <description><![CDATA[How about Arabic or Korean? 
Imagine you are testing a product localized to Arabic language (or any...]]></description>
      <content:encoded><![CDATA[<P>How about Arabic or Korean? </P>
<P>Imagine you are testing a product localized to Arabic language (or any other language you don't know how to read, write or you don't understand it). If you are familiar with the product in your language of preference then&nbsp;the task of finding buttons, windows and other things in the user interface shouldn't be a big problem (but yes, it still can be a pain). But what if you get an error message in that language?</P>
<P>You would probably agree that it can be very hard to quickly find someone who speaks those languages. There's a <A class="" href="https://www.windowslivetranslator.com/Default.aspx" target=_blank mce_href="https://www.windowslivetranslator.com/Default.aspx">Live Translator website</A> you can use to translate the error message or any other text. There's also an addin up on Windows Live Gallery which adds a <A class="" href="https://gallery.live.com/liveItemDetail.aspx?li=9ca66480-2d87-4341-87f6-86875d9a0908" target=_blank mce_href="https://gallery.live.com/liveItemDetail.aspx?li=9ca66480-2d87-4341-87f6-86875d9a0908">Translator button</A> to your IE and can translate the web page you are currently looking at to 12 languages. Even though the translations are not perfect, it's usually enough to get the idea what the error is about. </P>
<P>If you don't like using machine translation there could actually be a second 'solution' to your problem - you can always install the product in language you understand and try to get the same error message.&nbsp;But what if you don't get that error message? Even if you do get the&nbsp;'same' error message -&nbsp;can you tell with 100% certainity that the error message in let's say English language is the same one you are getting in other languages?&nbsp;That's the other story. Maybe there is a bug which is specific to the localized version?&nbsp; You should definitely verify that. </P>
<P><BR><EM><A class="" href="https://blogs.msdn.com/peterj/archive/2008/03/10/do-you-want-to-work-for-microsoft.aspx" mce_href="https://blogs.msdn.com/peterj/archive/2008/03/10/do-you-want-to-work-for-microsoft.aspx">Our team is still hiring.</A></EM> </P>]]></content:encoded>
    </item>
    <item>
      <title>Do you want to work for Microsoft??</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/do-you-want-to-work-for-microsoft</link>
      <pubDate>Sun, 09 Mar 2008 19:26:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/03/09/do-you-want-to-work-for-microsoft/</guid>
      <description><![CDATA[Great news: Our team is hiring both developers and testers! 
If you are excited about VSTO, Office,...]]></description>
      <content:encoded><![CDATA[<P><STRONG>Great news</STRONG>: Our team is hiring both <STRONG>developers </STRONG>and <STRONG>testers! </STRONG></P>
<P>If you are excited about VSTO, Office, SharePoint and Visual Studio&nbsp;this could be the right position for you. You can read more about the open positions <A class="" href="https://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;JobCategoryCodeID=&amp;JobLocationCodeID=&amp;JobProductCodeID=10019&amp;JobTitleCodeID=10296%2c10299&amp;Divisions=&amp;TargetLevels=&amp;Keywords=Business+Apps&amp;JobCode=&amp;ManagerAlias=&amp;Interval=50" mce_href="https://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;JobCategoryCodeID=&amp;JobLocationCodeID=&amp;JobProductCodeID=10019&amp;JobTitleCodeID=10296%2c10299&amp;Divisions=&amp;TargetLevels=&amp;Keywords=Business+Apps&amp;JobCode=&amp;ManagerAlias=&amp;Interval=50">here</A>. The descriptions are quite extensive (take a look at both dev and test position descriptions) but if you still have some questions feel free to comment or contact me - my email is&nbsp;PeterJ&nbsp;(at microsoft.com). </P>
<P>You have nothing to loose if you send in your resume and apply for the position! </P>
<P mce_keep="true">&nbsp;</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>VSTO Power Tools are here</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/vsto-power-tools-are-here</link>
      <pubDate>Thu, 21 Feb 2008 18:13:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/02/21/vsto-power-tools-are-here/</guid>
      <description><![CDATA[Nine VSTO/VSTA Power Tools were release to web today. You can download them here&nbsp;or read the...]]></description>
      <content:encoded><![CDATA[<P>Nine VSTO/VSTA Power Tools were release to web today. You can download them <A class="" href="https://www.microsoft.com/downloads/details.aspx?FamilyId=46B6BF86-E35D-4870-B214-4D7B72B02BF9&amp;displaylang=en" mce_href="https://www.microsoft.com/downloads/details.aspx?FamilyId=46B6BF86-E35D-4870-B214-4D7B72B02BF9&amp;displaylang=en">here</A>&nbsp;or read the short descriptions at <A class="" href="https://blogs.msdn.com/andreww/archive/2008/02/21/vsto-vsta-power-tools-v1-0.aspx" mce_href="https://blogs.msdn.com/andreww/archive/2008/02/21/vsto-vsta-power-tools-v1-0.aspx">Andrew Whitechapels blog</A>. </P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>On code formatting</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/on-code-formatting</link>
      <pubDate>Tue, 05 Feb 2008 13:21:24 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/02/05/on-code-formatting/</guid>
      <description><![CDATA[This post will be about code formatting and maybe some reasons for the formatting decisions...]]></description>
      <content:encoded><![CDATA[<p>This post will be about code formatting and maybe some reasons for the formatting decisions developers make.&#160; Actual code that got me thinking used an if statement, but below I used 2 for loops because its easier to spot what can go wrong: </p>  <pre class="csharpcode"><span class="kwrd">for</span> (<span class="kwrd">int</span> i = 0; i &lt; 10; i ++)
    <span class="kwrd">for</span> (<span class="kwrd">int</span> j = 0; j &lt; 10; j ++)
          Method1();
    Method2();
Method3();</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style><style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>

<p>First question: Do you know how many times are the methods being called?&#160; If you copy/paste the code and run it you will see that Method1 is called 100 times and after that Method2 and Method3 are executed. Looks good. </p>

<p>Now, imagine you are looking at that code someone else wrote and try to answer this question: Are you 100% sure that Method2() should be executed only once? Maybe the method should be executed only 10 times? Or maybe 100 times? It is a tough question and you probably can't answer it without asking the person who wrote the code some questions. I bet you there would be no ambiguity if you used parenthesis like this: </p>

<pre class="csharpcode"><span class="kwrd">for</span> (<span class="kwrd">int</span> i = 0; i &lt; 10; i ++)
{
    <span class="kwrd">for</span> (<span class="kwrd">int</span> j = 0; j &lt; 10; j ++)
    {
          Method1();
    }
    Method2();
}
Method3();</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>

<p>I remember when I was an intern in Dublin I wrote similar code (it was also a for loop) and I didn't use the parenthesis. Senior developer who was doing a review asked me the same question. Your code will be more readable if you use parenthesis in this case. Besides, you could also avoid some bugs. </p>

<p>I am not sure what the reason is, for not using parenthesis but a coworker told me about the another formatting 'issue' and the reason for it. </p>

<pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">void</span> MyMethod (<span class="kwrd">int</span> arg1, <span class="kwrd">string</span> arg2, <span class="kwrd">bool</span> arg3) {
      DoSomethingHere ();
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>

<p>Notice in above code the parenthesis is inline with the method declaration. And apparently the reason for that was that back in the days the monitors didn't have high resolutions and writing the parenthesis in the same line saved you one line on the monitor screen. </p>

<p>I am guessing the reason people are still writing the code this way is only a habit and nothing else. I know everybody has his own style of coding and code formatting and this doesn't mean your code is bad. </p>

<p>Let me end this post with a short story that could apply to the above text. I read this in Steve Maguire's book <a href="https://www.amazon.com/Debugging-Development-Process-Practical-Strategies/dp/B00005R08G/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1202234916&amp;sr=8-1">Debugging the Development Process</a>. The story goes like this: </p>

<p><em>&quot;A boy asked his mother how come she cuts off the edges of a pot roast when putting it into the pot. Mother told him that that's how her mother taught her to do. So, boy went to his grandmother and he got the same answer. Then he went to his grand-grandmother and ask her the same question. The answer was: Well, back then my pot was to small and the meat didn't fit inside.&quot;</em></p>

<p>Old habits never die. </p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>]]></content:encoded>
    </item>
    <item>
      <title>Sharepoint resources - videos</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/sharepoint-resources-videos</link>
      <pubDate>Mon, 28 Jan 2008 04:00:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/01/28/sharepoint-resources-videos/</guid>
      <description><![CDATA[Sharepoint development - Dev2Dev: 
Sharepoint Development - Making Sense of it All - Part I...]]></description>
      <content:encoded><![CDATA[<P>Sharepoint development - Dev2Dev: </P>
<P><A class="" href="https://cid-75959040acaac0e2.skydrive.live.com/self.aspx/Dev2Dev/SharePointDevelopmentMakingSenseOfItAll-Part1.wmv" mce_href="https://cid-75959040acaac0e2.skydrive.live.com/self.aspx/Dev2Dev/SharePointDevelopmentMakingSenseOfItAll-Part1.wmv">Sharepoint Development - Making Sense of it All - Part I</A> <BR><A class="" href="https://cid-75959040acaac0e2.skydrive.live.com/self.aspx/Dev2Dev/SharePointDevelopmentMakingSenseOfItAll-Part2.wmv" mce_href="https://cid-75959040acaac0e2.skydrive.live.com/self.aspx/Dev2Dev/SharePointDevelopmentMakingSenseOfItAll-Part2.wmv">Sharepoint Development - Making Sense of it All - Part&nbsp;II</A> </P>]]></content:encoded>
    </item>
    <item>
      <title>Creating folders and adding files to SharePoint Document Library</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/creating-folders-and-adding-files-to-sharepoint-document-library</link>
      <pubDate>Wed, 23 Jan 2008 12:24:46 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2008/01/23/creating-folders-and-adding-files-to-sharepoint-document-library/</guid>
      <description><![CDATA[It is pretty easy to do that. Here is a piece of code which creates a folder in document library and...]]></description>
      <content:encoded><![CDATA[<p>It is pretty easy to do that. Here is a piece of code which creates a folder in document library and adds a file to the created folder: </p>  <pre class="csharpcode">SPSite site = <span class="kwrd">new</span> Microsoft.SharePoint.SPSite(<span class="str">&quot;https://localhost&quot;</span>);            
SPWeb spWeb = site.RootWeb;

SPList docLib = spWeb.Lists[<span class="str">&quot;My Document Library&quot;</span>];          
SPListItem folder = docLib.Folders.Add(docLib.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, <span class="str">&quot;My folder&quot;</span>);
folder.Update();

<span class="kwrd">using</span> (FileStream fs = File.OpenRead (<span class="str">@&quot;C:\TestDoc.doc&quot;</span>))
{
           SPFile file = folder.Folder.Files.Add(<span class="str">&quot;TestDoc.doc&quot;</span>, fs);
           file.Update(); 
}</pre>

<p><style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>Before you run this code you must add a reference to <strong>Microsoft.SharePoint.dll</strong> which is located at: </p>

<p><em>X:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll</em></p>

<p> Also this code assumes that document library named &quot;My Document Library&quot; exists. If you want to create a document library you can use this code: </p>

<pre class="csharpcode">spWeb.Lists.Add(<span class="str">&quot;My Document Library&quot;</span>, <span class="str">&quot;This is my first document library&quot;</span>, SPListTemplateType.DocumentLibrary); </pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>

<p>Looks like &quot;Insert Code&quot; plug-in works just fine ... </p>]]></content:encoded>
    </item>
    <item>
      <title>Where did changes I made to the document/workbook go?</title>
      <link>https://docs.microsoft.com/archive/blogs/peterj/where-did-changes-i-made-to-the-documentworkbook-go</link>
      <pubDate>Fri, 28 Dec 2007 14:35:00 GMT</pubDate>
      <dc:creator><![CDATA[pjausovec]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/peterj/2007/12/28/where-did-changes-i-made-to-the-documentworkbook-go/</guid>
      <description><![CDATA[Imagine this scenario: 
&nbsp;
You create a new VSTO solution (Word document or Excel workbook)...]]></description>
      <content:encoded><![CDATA[Imagine this scenario: 
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">You create a new VSTO solution (Word document or Excel workbook) and you run the solution. Respective application will open and you make some changes<SPAN style="mso-spacerun: yes">&nbsp;</SPAN>to the document/workbook - maybe you add a few pictures, change text formatting, etc. Once you're done you save the document and close the application. You might be surprised to see that the changes you made are not reflected in the document designer inside Visual Studio. Don't panic - changes you made are not lost.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Reason you won't see any changes is that there are multiple copies of the document/workbook. </P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">When you run the solution Visual Studio copies the document from solution directory to \bin\debug\ or \bin\release\ folder. This is the document that will open when you run your VSTO solution and this is the document where you made all your changes. But when you close the application and return to Visual Studio, the document opened inside VS is from your solution directory. </P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">So, instead making changes to the document when you F5 the solution, do your changes inside Visual Studio<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>(if you're customizing an empty, new document) or create your solution based on existing document which was customized outside VS. Or you can open the document in \bin\debug folder and copy/paste the changes you made. </P>]]></content:encoded>
    </item>
  </channel>
</rss>