C#



Totel:418 Click: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
C# Interview Questions And Answers

Page 1

Single Class can be separated into multiple physical files with same logical name.

Partial Class:-Using the partial keyword indicates that other parts of the class, struct, or interface can be defined within the namespace



Below is the example of a partial class.

Listing 1: Entire class definition in one file (file1.cs)

public class Node
{
    public bool Delete()
    {
    }

    public bool Create()
    {
    }
}

Listing 2: Class split across multiple files

(file1.cs)

public partial class Node
{
    public bool Delete()
    {
    }
}

(file2.cs)

public partial class Node
{
    public bool Create()
    {
    }
}



a

Hi there, i have been programming for a few weeks now, i am still learning new things as i go on.
i would like to understand a few more things about c#
if anyone can answer my questions i would be more then appreciated.

- What is the rule i must consider before placing a semi-colon?


- What is the best data type to use to hold a value of 1200.0? and is there any other data types that could be used and why should i choose the other. 

- What is the defence between = and ==? And do i need to use both?

- What is the defrence between a while and a do-while loop?

- What is a class? And why is it so important to be used?

Code which execute on client are called client side code Otherwise Server side code.

Server code is run on server side and client code is run client side.

Server side code will execute at server end all the business logic will execute at server end where as client side code will execute at client side at browser end. 


Goto Page:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
C# Objective Questions And Answers

C# Objective Questions And Answers

C# Interview Questions And Answers

C# Interview Questions And Answers


R4R,C# Objective fresher and experienced, C# Subjective fresher and experienced ,C# Interview Questions And Answers,C# fresher and experienced,C# Interview fresher and experienced ,C# Questions fresher and experienced,C# Answers fresher and experienced