<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C# on Marko Apfel</title><link>http://blog.marko-apfel.de/topics/c%23/</link><description>Recent content in C# on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 20 Oct 2012 17:26:00 +0200</lastBuildDate><atom:link href="http://blog.marko-apfel.de/topics/c%23/index.xml" rel="self" type="application/rss+xml"/><item><title>Entity Framework, Code First: where is the database?</title><link>http://blog.marko-apfel.de/posts/entity-framework-code-first-where-is-the-database/</link><pubDate>Sat, 20 Oct 2012 17:26:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/entity-framework-code-first-where-is-the-database/</guid><description>&lt;p&gt;With Entity Framework 5 in Visual Studio 2012 the code first feature could let you come to the question “Where is the automatically created database located?”&lt;/p&gt;
&lt;p&gt;I run in the question after changing the model which throws during the next run this error:&lt;/p&gt;</description></item><item><title>LINQ and ArcObjects</title><link>http://blog.marko-apfel.de/posts/linq-and-arcobjects/</link><pubDate>Wed, 12 Sep 2012 15:20:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/linq-and-arcobjects/</guid><description>&lt;h1 id="motivation"&gt;Motivation&lt;/h1&gt;
&lt;p&gt;LINQ (language integrated query) is a component of the Microsoft. NET Framework since version 3.5. It allows a SQL-like query to various data sources such as SQL, XML etc.&lt;/p&gt;
&lt;p&gt;Like SQL also LINQ to SQL provides a declarative notation of problem solving – i.e. you don’t need describe in detail how a task could be solved, you describe what to be solved at all. This frees the developer from error-prone iterator constructs.&lt;/p&gt;</description></item><item><title>Strange error “argument type ‘lambda expression’ is not assignable to parameter type ‘string’”</title><link>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</link><pubDate>Sun, 01 Jul 2012 11:08:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</guid><description>&lt;p&gt;During playing with EF and LINQ I run in this UI-error:&lt;/p&gt;
&lt;p&gt;argument type ‘lambda expression’ is not assignable to parameter type ‘string’&lt;/p&gt;
&lt;p&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/mapfel/Windows-Live-Writer/Strange-error-_B6F5/image_2.png"&gt;&lt;img src="https://web.archive.org/web/20121027115133id_/http://geekswithblogs.net/images/geekswithblogs_net/mapfel/Windows-Live-Writer/Strange-error-_B6F5/image_thumb.png" alt="image" loading="lazy" decoding="async" title="image"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Compiler themselves states:&lt;/p&gt;
&lt;p&gt;Cannot convert lambda expression to type &amp;lsquo;string&amp;rsquo; because it is not a delegate type.&lt;/p&gt;</description></item><item><title>xUnit runner eats system diagnostic output</title><link>http://blog.marko-apfel.de/posts/xunit-runner-eats-system-diagnostic-output/</link><pubDate>Mon, 07 Nov 2011 13:28:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/xunit-runner-eats-system-diagnostic-output/</guid><description>&lt;h1 id="problem"&gt;Problem&lt;/h1&gt;
&lt;p&gt;When using xUnit and constructs like Debug.WriteLine the DbgView-tool does not show the written output anymore.&lt;/p&gt;
&lt;h1 id="solution"&gt;Solution&lt;/h1&gt;
&lt;p&gt;Add a new Listener – for example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Debug.Listeners.Add(new DefaultTraceListener());
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>"Failure has occurred while loading a type."</title><link>http://blog.marko-apfel.de/posts/failure-has-occurred-while-loading-a-type/</link><pubDate>Fri, 28 Oct 2011 12:08:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/failure-has-occurred-while-loading-a-type/</guid><description>&lt;h1 id="motivation"&gt;Motivation&lt;/h1&gt;
&lt;p&gt;During programming suddenly this error (“Failure has occurred while loading a type”) was thrown by accessing a artifact of a referenced library.&lt;/p&gt;
&lt;p&gt;In such cases I take the assembly fusion logger fuslogvw to search for problems of loading assemblies. Sometimes an old version from a not expected folder is binded. But all bindings were correct.&lt;/p&gt;</description></item><item><title>InternalsVisibleTo, PublicKey and PublicKeyToken</title><link>http://blog.marko-apfel.de/posts/internalsvisibleto-publickey-and-publickeytoken/</link><pubDate>Thu, 27 Oct 2011 14:35:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/internalsvisibleto-publickey-and-publickeytoken/</guid><description>&lt;h1 id="intro"&gt;Intro&lt;/h1&gt;
&lt;p&gt;If you want to test the internals of a productive assembly you must mark the assembly with the InternalsVisibleTo-attribute. This attribute has only one constructor which needs the name of the testing assembly.&lt;/p&gt;</description></item><item><title>Break the mechanism, that GAC-assemblies could only bind to other GAC-assemblies</title><link>http://blog.marko-apfel.de/posts/break-the-mechanism-that-gac-assemblies-could-only-bind-to-other-gac-assemblies/</link><pubDate>Tue, 31 May 2011 08:30:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/break-the-mechanism-that-gac-assemblies-could-only-bind-to-other-gac-assemblies/</guid><description>&lt;p&gt;Till yet I thought, that if you have an assembly in the GAC all referenced assemblies must also be in the GAC. So a break of this GAC-assembly resolving chain is impossible.&lt;/p&gt;</description></item><item><title>Suppressing Add-in-registration task during build process</title><link>http://blog.marko-apfel.de/posts/suppressing-add-in-registration-task-during-build-process/</link><pubDate>Mon, 16 May 2011 07:17:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/suppressing-add-in-registration-task-during-build-process/</guid><description>&lt;p&gt;If you develop ArcGIS Add-ins with Visual Studio under limited permissions you get during the build process an error, that the stuff could not be registered.&lt;/p&gt;
&lt;p&gt;Normally its enough to run one times this build as an admin. Then all needed information are set and also taken for users with limited access.&lt;/p&gt;</description></item><item><title>Castle Windsor: order of configurations and resulting resolvings</title><link>http://blog.marko-apfel.de/posts/castle-windsor-order-of-configurations-and-resulting-resolvings/</link><pubDate>Tue, 03 May 2011 05:46:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/castle-windsor-order-of-configurations-and-resulting-resolvings/</guid><description>&lt;p&gt;If different implementations for the same interface are specified without named keys, then a resolving is made in order of the configurations. So the first fitting implementation is taken.&lt;/p&gt;
&lt;p&gt;Different implementations for the same interface is a typical scenario for patterns like “chain of responsibility” and “decorator”. If you want to describe such a chain you could use the next handler as a constructor- parameter in the actual one.&lt;/p&gt;</description></item><item><title>Differences by pasting formatted text in Word and OneNote</title><link>http://blog.marko-apfel.de/posts/differences-by-pasting-formatted-text-in-word-and-onenote/</link><pubDate>Sun, 02 Jan 2011 08:54:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/differences-by-pasting-formatted-text-in-word-and-onenote/</guid><description>&lt;p&gt;By pasting formatted text in Word and OneNote both applications act a little bit different. Meanwhile Word supports RTF-formatting OneNote does not.&lt;/p&gt;
&lt;p&gt;OneNote could only handle HTML-formatting.&lt;/p&gt;
&lt;p&gt;In combination with presenting source code for Visual Studio the Add-in &lt;a href="http://copysourceashtml.codeplex.com/"&gt;CopySourceAsHtml&lt;/a&gt; is available.&lt;/p&gt;</description></item><item><title>Wie spricht man den Lambda-Operator aus?</title><link>http://blog.marko-apfel.de/posts/wie-spricht-man-den-lambda-operator-aus/</link><pubDate>Wed, 05 May 2010 09:27:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/wie-spricht-man-den-lambda-operator-aus/</guid><description>&lt;p&gt;Da gibt es unterschiedliche Auffassungen.&lt;/p&gt;
&lt;p&gt;Im Englischen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Func f = x =&amp;gt; x * 2;
”x goes to x * 2”
”x maps to x * 2”
”x becomes x * 2”
”x induces x * 2”&lt;/li&gt;
&lt;li&gt;Func test = c =&amp;gt; c.City == &amp;ldquo;London&amp;rdquo;;
&amp;ldquo;c for which c.City equals London&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Im Deutschen:&lt;/p&gt;</description></item><item><title>Gefahren des “cleanup code refactoring” im Zusammenhang mit P/Invoke und übergebenen Strukturen</title><link>http://blog.marko-apfel.de/posts/gefahren-des-cleanup-code-refactoring-im-zusammenhang-mit-p-invoke-und-ubergebenen-strukturen/</link><pubDate>Wed, 28 Apr 2010 09:40:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/gefahren-des-cleanup-code-refactoring-im-zusammenhang-mit-p-invoke-und-ubergebenen-strukturen/</guid><description>&lt;h2 id="problemkontext"&gt;Problemkontext&lt;/h2&gt;
&lt;p&gt;So schön auch das automatische “cleanup code refactoring” von ReSharper ist, im Zusammenhang mit Strukturdefinitionen, die als Übergabe-Parameter für unmanaged Code Aufrufe benötigt werden, lauert eine große Gefahr.&lt;/p&gt;
&lt;p&gt;Standardmäßig ist im Profil “Full Cleanup” die Option “Reorder type members” auf “Yes” gestellt.&lt;/p&gt;</description></item><item><title>Remote Debugging mit Visual Studio</title><link>http://blog.marko-apfel.de/posts/remote-debugging-mit-visual-studio/</link><pubDate>Tue, 27 Apr 2010 09:38:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/remote-debugging-mit-visual-studio/</guid><description>&lt;p&gt;Das Debuggen einer Applikation auf einem Rechner ohne installiertes Visual Studio gestaltet sich mit dem Remote Debugging Monitor relativ einfach.&lt;/p&gt;
&lt;p&gt;Derartige Konstellationen ergeben sich insbesondere dann, wenn ein Debugging von Anwendungen in Produktiv-Umgebungen notwendig wird.&lt;/p&gt;</description></item><item><title>MSB3105: Duplicate ressource parameter</title><link>http://blog.marko-apfel.de/posts/msb3105-duplicate-ressource-parameter/</link><pubDate>Mon, 25 Jan 2010 05:17:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/msb3105-duplicate-ressource-parameter/</guid><description>&lt;p&gt;error MSB3105: The item &amp;ldquo;BALoginForm.resources&amp;rdquo; was specified more than once in the &amp;ldquo;Resources&amp;rdquo; parameter. Duplicate items are not supported by the &amp;ldquo;Resources&amp;rdquo; parameter.&lt;/p&gt;
&lt;h3 id="reason"&gt;Reason&lt;/h3&gt;
&lt;p&gt;We use two custom cultures to divide between UIs for two customers. At the machine with this error only one custom culture was installed.&lt;/p&gt;</description></item><item><title>Nachtrag: Casting Anti-Pattern</title><link>http://blog.marko-apfel.de/posts/nachtrag-casting-anti-pattern/</link><pubDate>Thu, 29 Oct 2009 12:40:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/nachtrag-casting-anti-pattern/</guid><description>&lt;p&gt;Wie so oft im Leben sind manche Dinge auf den zweiten Blick komplexer als sie auf dem Ersten den Anschein haben.&lt;/p&gt;
&lt;p&gt;Es kam die Anfrage, ob es nicht doch einen Unterschied zwischen &amp;ldquo;as&amp;rdquo; und &amp;ldquo;is&amp;rdquo; gibt &amp;amp; dann wurden noch ein paar Inputs gefunden, dass im Falle des &amp;ldquo;Überladens von Cast-Operatoren&amp;rdquo; mögliche Fallen lauern.&lt;/p&gt;</description></item><item><title>Casting Anti-Pattern</title><link>http://blog.marko-apfel.de/posts/casting-anti-pattern/</link><pubDate>Thu, 29 Oct 2009 12:35:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/casting-anti-pattern/</guid><description>&lt;p&gt;in unten stehendem Code ist ein Anti-Pattern, welches immer wieder im ArcObjects-Kontext zu beobachten ist.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;if (element is IMapSurroundFrame)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; IMapSurround mapSurround = ((IMapSurroundFrame)element).MapSurround;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ..
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Es wird eine is-Abfrage gemacht (element is IMapSurroundFrame) und dann ein Stück später der tatsächliche Cast ((IMapSurroundFrame)element).&lt;/p&gt;</description></item><item><title>Visual Studio 2005 and 2008 compatibility with ReSharper</title><link>http://blog.marko-apfel.de/posts/visual-studio-2005-and-2008-compatibility-with-resharper/</link><pubDate>Wed, 21 Oct 2009 08:57:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/visual-studio-2005-and-2008-compatibility-with-resharper/</guid><description>&lt;p&gt;In our team we have developers with Visual Studio 2005 and 2008. Often we have projects which must be coded by a mixed team.&lt;/p&gt;
&lt;h2 id="visual-studio-2005-and-2008-compatibility-for-project-files"&gt;Visual Studio 2005 and 2008 compatibility for project-files&lt;/h2&gt;
&lt;p&gt;Normally this is no problem because adding projects in Visual Studio 2005 and manually introducing the ToolsVersion=&amp;ldquo;2.0&amp;rdquo; attribut in the new csproj-file allows an coexisting working when using two sln-files for Visual Studio 2005 and 2008.&lt;/p&gt;</description></item><item><title>Using images and cursors in resources</title><link>http://blog.marko-apfel.de/posts/using-images-and-cursors-in-resources/</link><pubDate>Sat, 01 Nov 2008 12:30:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/using-images-and-cursors-in-resources/</guid><description>&lt;p&gt;Often i see code-constructs like&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 1: try
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 2: {
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 3: string bitmapResourceName = GetType().Name + &amp;#34;.bmp&amp;#34;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 4: Bitmap bitmap = new Bitmap(GetType(), bitmapResourceName);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 5: }
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 6: catch (Exception ex)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 7: {
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 8: System.Diagnostics.Trace.WriteLine(&amp;#34;Invalid bitmap.&amp;#34;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 9: }
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The corresponding codetree has the structure:&lt;/p&gt;</description></item><item><title>Hierarchy of log4net-loggers (namespace vs class)</title><link>http://blog.marko-apfel.de/posts/hierarchy-of-log4net-loggers-namespace-vs-class/</link><pubDate>Thu, 20 Mar 2008 10:02:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/hierarchy-of-log4net-loggers-namespace-vs-class/</guid><description>&lt;p&gt;If you want specify log-parameters for loggers of a whole namespace normally you use a scheme like&lt;/p&gt;
&lt;p&gt;&amp;lt;logger name=&amp;ldquo;GrandNS.ParentNS.ChildNS.*&amp;rdquo; ..&lt;/p&gt;
&lt;p&gt;this is the same like&lt;/p&gt;
&lt;p&gt;&amp;lt;logger name=&amp;ldquo;GrandNS.ParentNS.ChildNS&amp;rdquo; ..&lt;/p&gt;
&lt;p&gt;There is no ambiguous name possible, because it is not allowed to define a class with the name of a namespace at the same namespace-level.&lt;/p&gt;</description></item><item><title>Konfigurationfile für eine Library lesen</title><link>http://blog.marko-apfel.de/posts/konfigurationfile-fur-eine-library-lesen/</link><pubDate>Thu, 10 May 2007 16:20:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/konfigurationfile-fur-eine-library-lesen/</guid><description>&lt;p&gt;Beim Verwenden des Standard-Mechanismus zum Lesen von Konfigurationsdaten wird immer die config-Datei der EXE gelesen.&lt;/p&gt;
&lt;p&gt;Soll eine DLL über eine eigene Konfigurationsdatei verfügen, verwendet man die Klasse ExeConfigurationFileMap.&lt;/p&gt;
&lt;p&gt;Beispiel:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 1: ExeConfigurationFileMap ecfm = new ExeConfigurationFileMap();
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 2: ecfm.ExeConfigFilename = &amp;#34;MyLibrary.dll.config&amp;#34;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 3: Configuration cfg = ConfigurationManager.OpenMappedExeConfiguration(ecfm, ConfigurationUserLevel.None);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 4: AppSettingsSection ass = (AppSettingsSection) cfg.GetSection(&amp;#34;appSettings&amp;#34;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 5: string configValue = String.Empty;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 6: if (aSect != null)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 7: {
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 8: configValue = ss.Settings[&amp;#34;blabla&amp;#34;].Value;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 9: }
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>