<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: John Mazur</title>
    <description>The latest articles on DEV Community by John Mazur (@ozmaz).</description>
    <link>https://dev.to/ozmaz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4105878%2Fbba8ce69-f81d-436a-aabf-e1f0614ecdf1.png</url>
      <title>DEV Community: John Mazur</title>
      <link>https://dev.to/ozmaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ozmaz"/>
    <language>en</language>
    <item>
      <title>VB.NET -&gt; C#</title>
      <dc:creator>John Mazur</dc:creator>
      <pubDate>Wed, 02 Sep 2026 09:53:14 +0000</pubDate>
      <link>https://dev.to/ozmaz/vbnet-c-8g9</link>
      <guid>https://dev.to/ozmaz/vbnet-c-8g9</guid>
      <description>&lt;p&gt;Hi Folks,&lt;/p&gt;

&lt;p&gt;I'm trying to convert this VB.NET code to C# and it's proving to be quite the task.&lt;/p&gt;

&lt;p&gt;`Public Delegate Sub NAH()&lt;/p&gt;

&lt;p&gt;Structure sDirective&lt;br&gt;
    Public DirectiveName As String&lt;br&gt;
    Public DirectiveFunction As NAH&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Public Sub New(A As String, B As NAH)   'New entry
    DirectiveName = A
    DirectiveFunction = B
End Sub
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;End Structure&lt;/p&gt;

&lt;p&gt;Dim DirectiveList() As sDirective = {New sDirective("CSECT", New NAH(AddressOf DirectiveCSECT)),&lt;br&gt;
                                     New sDirective("END", New NAH(AddressOf DirectiveEND)),&lt;br&gt;
                                     New sDirective("EQU", New NAH(AddressOf DirectiveEQU)),&lt;br&gt;
                                     New sDirective("EXT", New NAH(AddressOf DirectiveEXT)),&lt;br&gt;
                                     New sDirective("FCB", New NAH(AddressOf DirectiveFCB)),&lt;br&gt;
                                     New sDirective("FCC", New NAH(AddressOf DirectiveFCC)),&lt;br&gt;
                                     New sDirective("FCN", New NAH(AddressOf DirectiveFCC)),&lt;br&gt;
                                     New sDirective("FDB", New NAH(AddressOf DirectiveFDB)),&lt;br&gt;
                                     New sDirective("NAM", New NAH(AddressOf DirectiveNAM)),&lt;br&gt;
                                     New sDirective("ORG", New NAH(AddressOf DirectiveORG)),&lt;br&gt;
                                     New sDirective("PUB", New NAH(AddressOf DirectivePUB))&lt;br&gt;
                                     }`&lt;/p&gt;

&lt;p&gt;Any help gratefully appreciated.&lt;/p&gt;

</description>
      <category>coding</category>
      <category>csharp</category>
      <category>dotnet</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
