Skip to content

Shakti Tanwar

  • Home
  • Tutorials
    • ASP.Net MVC 5
    • C# 6.0
    • C# 7.0
    • C# 7.1 New Features
    • C# 8.0 New Features
    • Asp.Net Core
    • Microsoft Bots Framework
    • ECMA Script 6
  • SkJobseeders
  • training video
    • 3-TierArchitecture
      • 3TierArchitecture Part1
      • 3TierArchitecture Part2
      • 3TierArchitecture Part3
      • 3TierArchitecture Part4
    • Custom Collections
      • Custom Collection Part 1
      • Custom Collection Part 2
      • Custom Collection Part 3
      • Custom Collection Part 4
    • Asp.Net MVC
      • MVC Part 1
      • Asp.Net Mvc Part 2
      • Asp.Net MVC 3
      • Asp.Net MVC 4
      • Asp.Net MVC 5
      • Asp.Net MVC 6
      • Asp.Net MVC 7
      • Asp.Net MVC 8
    • OOPS Interview
      • OOPS Interview .Net1
      • OOPS Interview .Net Part 2
      • OOPS Interview .Net Part 3
      • OOPS Interview .Net Part 4
  • TechproCompsoft
  • Get in Touch
  • Mobile Apps

Menu

  • Home
  • Tutorials
    • ASP.Net MVC 5
    • C# 6.0
    • C# 7.0
    • C# 7.1 New Features
    • C# 8.0 New Features
    • Asp.Net Core
    • Microsoft Bots Framework
    • ECMA Script 6
  • SkJobseeders
  • training video
    • 3-TierArchitecture
      • 3TierArchitecture Part1
      • 3TierArchitecture Part2
      • 3TierArchitecture Part3
      • 3TierArchitecture Part4
    • Custom Collections
      • Custom Collection Part 1
      • Custom Collection Part 2
      • Custom Collection Part 3
      • Custom Collection Part 4
    • Asp.Net MVC
      • MVC Part 1
      • Asp.Net Mvc Part 2
      • Asp.Net MVC 3
      • Asp.Net MVC 4
      • Asp.Net MVC 5
      • Asp.Net MVC 6
      • Asp.Net MVC 7
      • Asp.Net MVC 8
    • OOPS Interview
      • OOPS Interview .Net1
      • OOPS Interview .Net Part 2
      • OOPS Interview .Net Part 3
      • OOPS Interview .Net Part 4
  • TechproCompsoft
  • Get in Touch
  • Mobile Apps

Category: .Net Interview

Posted on May 20, 2015September 12, 2017 by Shakti Tanwar

Passing reference types by ref and by value?

Reference types are always passed by reference so what’s the difference between passing a reference type by value or by ref keyword. Let’s try to understand by some code samples:

Let’s say we have a class MyClass defined below, Class in .Net is a reference type as you should know.

class Reftype
     {
      public int i;
     }

Continue reading →

Posted in .Net Interview Leave a comment
Posted on May 20, 2015May 20, 2015 by Shakti Tanwar

value type vs reference type .net

Value type vs Reference type .net

.Net types are broadly classified into 2 categories based on storage:

  • Value types
  • Reference Type

Values types are allocated on Stack whereas reference types are allocated on Heap. Continue reading →

Posted in .Net Interview Leave a comment
Posted on May 20, 2015September 12, 2017 by Shakti Tanwar

Patterns

Q.) What are patterns ?

Ans.) Patterns are building blocks of software architecture.

Q.) What are anti-patterns?

Ans.) Wrong or half cooked solutions which have been accepted widely as solutions to a known problem are called anti-patterns. Continue reading →

Posted in .Net Interview Leave a comment

Browse By Category

  • .Net Framework (26)
  • .Net Interview (3)
  • ASP.NET (14)
    • Asp.Net Core (6)
      • Asp.Net Core 2.0 (5)
    • ASP.Net MVC (8)
      • ASP.Net MVC 5 (8)
  • Asp.Net MVC Interview Questions (2)
  • Automation (3)
  • C# 6.0 (10)
  • C# 7.0 (12)
    • C# 7.1 (4)
  • C# Interview Questions (1)
  • ECMAScript (9)
  • ECMAScript 2015 (9)
  • ECMAScript 6 (9)
  • ES-2015 (8)
  • ES-6 (9)
  • JavaScript (1)
  • Microsoft Bots Framework (3)
  • Mobile Apps (14)
  • NodeJs (6)
  • OOPS in C# (20)
  • OOPS in VB.Net (1)
  • Python (3)
  • VB.Net Interview Questions (1)
  • Visual Studio Code (2)

Recent Articles

  • Nullable Reference Types
  • OOPS In C#
  • R Mobile App
  • Python Mobile App
  • Chalisa Mobile App
  • Software Shortcut Keys Mobile App
  • Valentine Love SMS Offline Mobile App
  • English kids Stories Offline Mobile app

Popular Articles

  • .Net Framework (26)
  • .Net Interview (3)
  • Asp.Net Core (6)
  • Asp.Net Core 2.0 (5)
  • ASP.Net MVC (8)
  • ASP.Net MVC 5 (8)
  • Asp.Net MVC Interview Questions (2)
  • Automation (3)
  • C# 6.0 (10)
  • C# 7.0 (11)
  • C# 7.1 (4)
  • C# Interview Questions (1)
  • ECMAScript (9)
  • ECMAScript 2015 (9)
  • ECMAScript 6 (9)
  • ES-2015 (8)
  • ES-6 (9)
  • JavaScript (1)
  • Microsoft Bots Framework (3)
  • Mobile Apps (14)
  • NodeJs (6)
  • OOPS in C# (20)
  • OOPS in VB.Net (1)
  • Python (3)
  • VB.Net Interview Questions (1)
  • Visual Studio Code (2)
Copyright : © 2015 shaktitanwar