Sunday, August 2, 2020

.NET Language Interoperability Feature in English

#1 .NET Language Interoperability Feature in English




This video demonstrates the Language Interoperability in  DOT NET in english. I have used C#.NET and VB.NET code.
C# Code:
using System;
namespace ClassLibrary1
{
    public class Class1
    {
        public string DisplayString(string GetString)
        {
            string str = "Hi!! I am from C#.NET   " + GetString;
            return str;
        }
    }
}

VB.NET Code:
Dim obj As New ClassLibrary1.Class1
        MessageBox.Show(obj.DisplayString("  Hello! I am from VB.NET"), "RK Keynotes")
Me.Close()


Do you like the video? Then, Don't forget to subscribe.

Thank for watching the video from "RK Keynotes" YouTube Channel

No comments:

Post a Comment