VB.Net Program to Demonstrate the Bitwise NOT Operator

You are currently viewing VB.Net Program to Demonstrate the Bitwise NOT Operator

VB.Net program to demonstrate the BITWISE NOT operator

'VB.Net program to demonstrate the 
'"bitwise NOT" operator.

Module Module1

    Sub Main()

        Dim num As Integer = 6

        If Not (num = 6) Then
            Console.Write("Hello")
        Else
            Console.Write("Hiiii")
        End If

        Console.ReadLine()
    End Sub

End Module

Output

Hiiii

Ranjith Kumar

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Reply