Skip to main content

How to access an Inner Class in .NET?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

In .NET it is now possible to create an Inner Class within a class. How to access this inner class from COBOL?

Resolution:

Accessing an Inner class by defining it in the repository section but there is the need to use " " to denote the inner class. For example:

       repository.

              class innerclass as "MyClassLibrary.TheOuterClassName TheInnerClassName"

                  .

will allow to create instances of the innerclass.

Old KB# 4407