Is Keyword to check object of particular class

Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 634
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Xml;
using System.IO;
using System.Diagnostics;
using System.Collections.Generic;
using System.Data.SqlClient;

namespace BlogProject
class Test
class Program
static void Main(string[] args)
Test t1 = new Test();
if (t1 is Test)
Console.WriteLine("This is object of class Test");


Comments or Responses

Login to post response