Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. question enjoy

question enjoy

Scheduled Pinned Locked Moved C#
csharpquestiondesigndata-structuresregex
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rizwan afsar
    wrote on last edited by
    #1

    C# Sharp Dotnet Interview Questions 1) The C# keyword ‘int’ maps to which .NET type? a.System.Int16 b.System.Int32 3.System.Int64 4.System.Int128 2) Which of these string definitions will prevent escaping on backslashes in C#? a.string s = #”n Test string”; b.string s = “’n Test string”; c.string s = @”n Test string”; d.string s = “n Test string”; 3) Which of these statements correctly declares a two-dimensional array in C#? a.int[,] myArray; b.int[][] myArray; c.int[2] myArray; d.System.Array[2] myArray; 4) If a method is marked as protected internal who can access it? a.Classes that are both in the same assembly and derived from the declaring class. b.Only methods that are in the same class as the method in question. c.Internal methods can be only be called using reflection. d.Classes within the same assembly, and classes derived from the declaring class. 5) What is boxing? a) Encapsulating an object in a value type. b) Encapsulating a copy of an object in a value type. c) Encapsulating a value type in an object. d) Encapsulating a copy of a value type in an object. 6) What compiler switch creates an xml file from the xml comments in the files in an assembly? a./text b./doc c./xml d./help 7) What is a satellite Assembly? a)A peripheral assembly designed to monitor permissions requests from an application. b)Any DLL file used by an EXE file. c)An assembly containing localized resources for another assembly. d)An assembly designed to alter the appearance or ‘skin’ of an application. 8) What is a delegate? a)A strongly typed function pointer. b)A light weight thread or process that can call a single method. c)A reference to an object in a different process. d)An inter-process message channel. 9) How does assembly versioning in .NET prevent DLL Hell? a)The runtime checks to see that only one version of an assembly is on the machine at any one time. b).NET allows assemblies to specify the name AND the version of any assemblies they need to run. c)The compiler offers compile time checking for backward compatibility. d)It doesn’t. 10) Which “Gang of Four” design pattern is shown below? public class A { private A instance; private A() { } public static A Instance { get { if ( A == null ) A = new A(); return instance; } } } a)Factory b)Abstract Factory c)Singleton d)Builder 11) In the NUnit t

    E N P 3 Replies Last reply
    0
    • R rizwan afsar

      C# Sharp Dotnet Interview Questions 1) The C# keyword ‘int’ maps to which .NET type? a.System.Int16 b.System.Int32 3.System.Int64 4.System.Int128 2) Which of these string definitions will prevent escaping on backslashes in C#? a.string s = #”n Test string”; b.string s = “’n Test string”; c.string s = @”n Test string”; d.string s = “n Test string”; 3) Which of these statements correctly declares a two-dimensional array in C#? a.int[,] myArray; b.int[][] myArray; c.int[2] myArray; d.System.Array[2] myArray; 4) If a method is marked as protected internal who can access it? a.Classes that are both in the same assembly and derived from the declaring class. b.Only methods that are in the same class as the method in question. c.Internal methods can be only be called using reflection. d.Classes within the same assembly, and classes derived from the declaring class. 5) What is boxing? a) Encapsulating an object in a value type. b) Encapsulating a copy of an object in a value type. c) Encapsulating a value type in an object. d) Encapsulating a copy of a value type in an object. 6) What compiler switch creates an xml file from the xml comments in the files in an assembly? a./text b./doc c./xml d./help 7) What is a satellite Assembly? a)A peripheral assembly designed to monitor permissions requests from an application. b)Any DLL file used by an EXE file. c)An assembly containing localized resources for another assembly. d)An assembly designed to alter the appearance or ‘skin’ of an application. 8) What is a delegate? a)A strongly typed function pointer. b)A light weight thread or process that can call a single method. c)A reference to an object in a different process. d)An inter-process message channel. 9) How does assembly versioning in .NET prevent DLL Hell? a)The runtime checks to see that only one version of an assembly is on the machine at any one time. b).NET allows assemblies to specify the name AND the version of any assemblies they need to run. c)The compiler offers compile time checking for backward compatibility. d)It doesn’t. 10) Which “Gang of Four” design pattern is shown below? public class A { private A instance; private A() { } public static A Instance { get { if ( A == null ) A = new A(); return instance; } } } a)Factory b)Abstract Factory c)Singleton d)Builder 11) In the NUnit t

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      What was the purpose of this? I thought this forum was for asking C# problems? Or did I miss something :confused: Ed

      1 Reply Last reply
      0
      • R rizwan afsar

        C# Sharp Dotnet Interview Questions 1) The C# keyword ‘int’ maps to which .NET type? a.System.Int16 b.System.Int32 3.System.Int64 4.System.Int128 2) Which of these string definitions will prevent escaping on backslashes in C#? a.string s = #”n Test string”; b.string s = “’n Test string”; c.string s = @”n Test string”; d.string s = “n Test string”; 3) Which of these statements correctly declares a two-dimensional array in C#? a.int[,] myArray; b.int[][] myArray; c.int[2] myArray; d.System.Array[2] myArray; 4) If a method is marked as protected internal who can access it? a.Classes that are both in the same assembly and derived from the declaring class. b.Only methods that are in the same class as the method in question. c.Internal methods can be only be called using reflection. d.Classes within the same assembly, and classes derived from the declaring class. 5) What is boxing? a) Encapsulating an object in a value type. b) Encapsulating a copy of an object in a value type. c) Encapsulating a value type in an object. d) Encapsulating a copy of a value type in an object. 6) What compiler switch creates an xml file from the xml comments in the files in an assembly? a./text b./doc c./xml d./help 7) What is a satellite Assembly? a)A peripheral assembly designed to monitor permissions requests from an application. b)Any DLL file used by an EXE file. c)An assembly containing localized resources for another assembly. d)An assembly designed to alter the appearance or ‘skin’ of an application. 8) What is a delegate? a)A strongly typed function pointer. b)A light weight thread or process that can call a single method. c)A reference to an object in a different process. d)An inter-process message channel. 9) How does assembly versioning in .NET prevent DLL Hell? a)The runtime checks to see that only one version of an assembly is on the machine at any one time. b).NET allows assemblies to specify the name AND the version of any assemblies they need to run. c)The compiler offers compile time checking for backward compatibility. d)It doesn’t. 10) Which “Gang of Four” design pattern is shown below? public class A { private A instance; private A() { } public static A Instance { get { if ( A == null ) A = new A(); return instance; } } } a)Factory b)Abstract Factory c)Singleton d)Builder 11) In the NUnit t

        N Offline
        N Offline
        Nicholas Butler
        wrote on last edited by
        #3

        What's your question? :laugh: ---------------------------- Be excellent to each other :) EasiReports[^] My free reporting component for WinForms.

        1 Reply Last reply
        0
        • R rizwan afsar

          C# Sharp Dotnet Interview Questions 1) The C# keyword ‘int’ maps to which .NET type? a.System.Int16 b.System.Int32 3.System.Int64 4.System.Int128 2) Which of these string definitions will prevent escaping on backslashes in C#? a.string s = #”n Test string”; b.string s = “’n Test string”; c.string s = @”n Test string”; d.string s = “n Test string”; 3) Which of these statements correctly declares a two-dimensional array in C#? a.int[,] myArray; b.int[][] myArray; c.int[2] myArray; d.System.Array[2] myArray; 4) If a method is marked as protected internal who can access it? a.Classes that are both in the same assembly and derived from the declaring class. b.Only methods that are in the same class as the method in question. c.Internal methods can be only be called using reflection. d.Classes within the same assembly, and classes derived from the declaring class. 5) What is boxing? a) Encapsulating an object in a value type. b) Encapsulating a copy of an object in a value type. c) Encapsulating a value type in an object. d) Encapsulating a copy of a value type in an object. 6) What compiler switch creates an xml file from the xml comments in the files in an assembly? a./text b./doc c./xml d./help 7) What is a satellite Assembly? a)A peripheral assembly designed to monitor permissions requests from an application. b)Any DLL file used by an EXE file. c)An assembly containing localized resources for another assembly. d)An assembly designed to alter the appearance or ‘skin’ of an application. 8) What is a delegate? a)A strongly typed function pointer. b)A light weight thread or process that can call a single method. c)A reference to an object in a different process. d)An inter-process message channel. 9) How does assembly versioning in .NET prevent DLL Hell? a)The runtime checks to see that only one version of an assembly is on the machine at any one time. b).NET allows assemblies to specify the name AND the version of any assemblies they need to run. c)The compiler offers compile time checking for backward compatibility. d)It doesn’t. 10) Which “Gang of Four” design pattern is shown below? public class A { private A instance; private A() { } public static A Instance { get { if ( A == null ) A = new A(); return instance; } } } a)Factory b)Abstract Factory c)Singleton d)Builder 11) In the NUnit t

          P Offline
          P Offline
          Professor Sharada Ulhas
          wrote on last edited by
          #4

          rizwan! you disregard my doubt abut the interview assignment. i told you to do it for urself and not by cpian. shame, now you will not get the job u monkey turd.

          Sincelery yours, Computer Information conSciences Professor and grader, Sharada Ulhas

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups