Skip to content

Desi banjara

  • “The use of traveling is to regulate imagination with reality, and instead of thinking of how things may be, see them as they are.” – Samuel Johnson Quotes
  • 100+ Facebook/WhatsApp I Miss You Messages I Miss You Messages
  • Canon EOS 1300D Cameras
  • Happy New Year 2020 Wishes Images, Quotes, Status Happy New Year Wishes
  • Birthday messages for Girlfriend Best Wishes Messages
  • AWS DevOps Engineer Professional Exam Practice Questions – 7 AWS DevOps Engineer Professional Exam
  • “Two roads diverged in a wood and I – I took the one less traveled by.” – Robert Frost Quotes
  • Microsoft AZ-900 Certification Exam Practice Questions – Part 1 Microsoft AZ-900 Certification Exam

Interview question: What is the difference between GetType() and typeof()?

No Comments on Interview question: What is the difference between GetType() and typeof()?

typeof()

typeof keyword takes the Type itself as an argument and returns the underline Type of the argument.

System.Type t1= typeof(Event); // Event is a Type

GetType()

GetType() will return the given variable base data type. It can only be invoked on the instance of the type.

Event event= new Event();
System.Type t2= event.GetType(); // event is an instance of the type Event.

[amazon_link asins=’9351190900,1787287041,9386873583,9351343189,8120349172,007070368X,8120352068,9352136640,B016Z18MLG|1840787198,B016Z18MLG,1491988533,1491987650,1119428114,1484230175,1119449278,1119458684,0985580135′ template=’ProductGrid’ store=’desibanjara22-21|desibanjaraco-21′ marketplace=’IN|UK’ link_id=’23be5044-948b-11e8-b877-0dfd42244dbc’]

C# development, Interview questions, IT/Software development Tags:C#, C# development, Interview questions, IT/Software development

Post navigation

Previous Post: Interview question: What is the difference between dynamic type variables and object type variables?
Next Post: Interview question: What is the purpose of “is” operator in C#?

Related Posts

  • Interview question: What is the use of “using” keyword in C#? C# development
  • Interview question: In how many ways you can pass parameters to a method? C# development
  • SQL Server Interview questions Interview questions
  • Interview question: What are nullable types in C#? C# development
  • Interview question: What are the namespaces in C#.NET? C# development
  • Interview question: What is Jagged Array in C#? C# development

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *



Archives

  • June 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • December 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • January 2018
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • August 2015
  • May 2015
  • April 2014
  • November 2013

Categories

  • Acer
  • Amazon AWS Certification Exam
  • Amazon Kindle
  • Android phones
  • ASP.Net MVC
  • ASP.NET Web API
  • AWS DevOps Engineer Professional Exam
  • AZ-300: Microsoft Azure Architect Technologies Exam
  • Best Wishes Messages
  • birthday messages for boyfriend
  • Birthday messages For Girlfriend
  • Birthday Wishes
  • Birthday Wishes For Mom
  • Business
  • C# development
  • Cameras
  • Canon
  • Cloud
  • Cloud services
  • digital-cameras
  • Diwali
  • Entrepreneurship
  • eReaders
  • Family Quotes
  • Family Quotes
  • Friendship Quotes
  • Gadgets
  • Games
  • Get Well Soon Messages
  • GIT
  • Good Morning Wishes
  • Google
  • Gratitude Quote
  • Guru Nanak Jayanti
  • Halloween
  • Happiness Quote
  • Happy Diwali Wishes
  • Happy Independence Day Wishes
  • Happy New Year Wishes
  • HTC
  • HTC One
  • HTML
  • I Miss You Messages
  • Inspirational Quotes
  • Inspirational Travel Quotes
  • Interview questions
  • IT/Software development
  • Leadership Quote
  • Life lessons
  • Love Quotes
  • Love shayari
  • Messages
  • Microsoft AI-900 Certification Exam
  • Microsoft AZ-104 Certification Exam
  • Microsoft AZ-204 Certification Exam
  • Microsoft AZ-900 Certification Exam
  • Microsoft Azure
  • Microsoft Azure certifications
  • Microsoft Exam AZ-220
  • Microsoft Excel
  • Microsoft Office
  • Microsoft word
  • Mobile phones
  • Motivational & Inspirational Quotes
  • Nature Quotes
  • Nexus
  • Nikon
  • Pixels
  • PL-200: Microsoft Power Platform Functional Consultant Certification
  • PL-900: Microsoft Power Platform Fundamentals
  • postman
  • Quotes
  • Robin Sharma
  • Samsung Galaxy S5
  • Self improvement quotes
  • Self-Confidence Quote
  • SonarQube
  • Sony PlayStation 4
  • SQL
  • SQL Server
  • Success Quotes
  • Travel Quotes
  • Uncategorised
  • Uplifting Quotes
  • WCF (Windows Communication Foundation)
  • Web development
  • Wishes
  • Wishes for Newborn Baby

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org



Recent Posts

  • PL-200: Microsoft Power Platform Functional Consultant Certification – Exam Practice Questions
  • SonarQube – Static code analysis
  • Microsoft PL-900 Certification Exam Practice Questions – 2
  • Microsoft AZ-204 Certification Exam Practice Questions – 1
  • AWS DevOps Engineer Professional Exam Practice Questions – 14

Recent Comments

  • Yosianus on Error while sending json model in POST request to web API service using postman
  • “People don’t take trips, trips take people.” – John Steinbeck Quotes
  • “To love oneself is the beginning of a lifelong romance.” Oscar Wilde Motivational & Inspirational Quotes
  • 100+ Facebook/WhatsApp I Miss You Messages I Miss You Messages
  • “Talk to yourself like you would to someone you love.” Brené Brown Motivational & Inspirational Quotes
  • Sample Exam Questions 6: AZ-300: Microsoft Azure Architect Technologies AZ-300: Microsoft Azure Architect Technologies Exam
  • “It doesn’t matter how slow you go, as long as you don’t stop.”– Confucius Motivational & Inspirational Quotes
  • Asp.Net WebApi Interview Questions ASP.NET Web API
  • Some beautiful nature quotes from some great people Nature Quotes

Copyright © 2022 Desi banjara.

Powered by PressBook News WordPress theme