Nothing Special   »   [go: up one dir, main page]

PRNFE

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Utility is used to view -> Object Browser

Utility is used to show -> Solution viewer


Utility is used to view diagrams -> Class viewer

Keywords is used to override (hidden) -> new


Keywords is used to extend or modify the abstract -> override
Keywords is used to extend -> override

Keywords meaning access is limited in the same assembly -> internal


Keyword meaning access to limited to the current -> protected internal

Related to the namespaces in C# -> it is used to


Related to the Design Pattern -> Patterns allow
Related to the characteristics of delegate type is true -> Statement 1 and 2
Related to the Generic Method -> A method
Related to the file in .NET -> A file ……….. some kind
Related to the benefits of ASP.NET core is true? -> It include

Related to Assemblies is true -> .exe and . module/All


Related to Object-Relational Mapper is true -> All
Related to Concurrency in Operating System -> All
Related to Entity Framework Core -> EF…………… technology
Related to Entity Framework -> …………… the real world
Related to .NET Solution -> 1,2 and 3
Related to Generics in the C# -> Generic means ………… data type
Related to Generic class -> Generic classes ……….. data type
Related to Constraints on Type Parameters -> Constraints inform ……… must have
Related to Query Expressions -> A Query expression …….. in query syntax
Related to ThreadPool -> 1 and 2 are True
Related to Thread -> 1 and 2 are True
Related to event -> An event is a user-generated
Related to Static Constructor -> The static constructor …….. are created
Related to routing in ASP.NET core -> The routing is ……… Controller Actions
Related to Design Pattern -> A design pattern ………. software design
Related to ASP.NET Web API -> ASP.NET Web API from the beginning
Related to ASP.NET is true -> …………….. by Microsoft
Related to Client-Server -> That is the computing
Related to Using collection -> A primary
Related to Lambda Expressions -> Lambda Expressions

Incorrect about C# language -> There is no pointer


Incorrect about the delegate -> can not use with event

Correct statement of Singleton Pattern -> Defines an instances


Correct about the reference types -> ……. heap

Correctly describes the “FileInfo.CreateText()” method -> ………………. a new text file

The benefit of Concurrency -> Running of


The benefit of Generics -> Ensure type-safety
The benefits of Design Pattern -> Design

Issue of Concurrency? -> Blocking

Performs function such as memory management, error handling -> Core Common Language

Provides detailed information regarding the drives that given machine -> DriveInfo
Provided by the controllerbase class -> HttpContext
Provides classes to interact with database inn the .NET -> ADO.NET
Provided by the controllerbase class -> isValidateModel

One of the Behavioral Design Patterns -> Chain of


One of the characteristics of ASP.NET web API -> All
One of the components in .NET -> Common Language
One of the core components -> .Net framework
One of the feature of ASP.NET core -> All
One of the creational design -> singleton

SQLdataAdapter object is used to fill -> fill


SQLdataAdapter object is used to update -> update
SQL datatype of a SqlParameter -> command expects

Allows to store primitive data types -> BinaryWriter

Which definition for a static method -> public static void MethodA()

Gang of Four (GoF) -> all

The first character of an identifier can not be -> a digit

Event should be used to detect -> TextChanged

The form of the NET assemblies version number -> <Major><minor><build><reversion>

ComboBox is used to specify the string -> text

Constraint “Where T: class” -> The type argument ………….. array type.
Constraint “Where T: new()” -> ……….. specified last s

Web servers support for ASP.NET Core -> internet info

Tool can be used to create object -> DbContext scaffold


Tools can be used to view the MSIL code -> ildasm

For steps are used to cretate a Thread -> 1>3>2>4>5

Inluded in the assemblies -> 1,2 and 3

EF core global tool -> DbContext scaffold

The StreamWriter and StreamReader classes -> Character-based data

What is the ASP.NET core? -> to maintain

Operators can use to calculate the sum of the elements -> Sum

Hiding the implementation….. OOP -> Encapsulation

Used to connect to MS SQL -> ……….SqlServer

The ways to identify -> 1 is true

CheckedListBox object -> checked and unchecked


Information of a delegate type -> 1,2,3

About the class is true -> a class have multiple

Allow you to control whether the form => 1,3

A stream of bytes -> bufferedStream


CODE

Class A {
Static int x= 1;
X++;
X+=3; => 5,6
=> BB
=> 1,3 (1,2,3 B)
=> 4
=> NETNET
=> 15
=> 9
Static void GetValue{ ref int a, out int b, int c}
B =a + c
C++
C = a +b
=> a=3 b=8 c=5

Static void GetValue{ out int a, out int b, int c}


A = ++c
B = a++
Return c
=> a=7 b=6 c=6

Static void GetValue{ int int a, ref int b, int c}


C= 0
For
=> a=1 b=4 c=10

Delegate void CallBack (string s) => .NETC#

Class Sample {
1
2 => 12
}

Class Program {
2,6,7,5,1 => 3,13
1,5,2,4,3 =>6
}

Record A {
Int x =1
X =4
X= 5 } => 5,6

Delegate void D1 => AB


=> C#.NET

Record A {
}Record B{
=> 8

You might also like