POST 2 DOST

POST 2 DOST Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from POST 2 DOST, News & Media Website, Sasaram.

31/05/2022

Godaddy Promo Code- To get up 40% of on .in domians, Use Promo Code - CJC141ID Valid for all users Step to apply- 1. Login godaddy account...

31/05/2022

Godaddy Promo Code- To get up 50% of on .com domians, Use Promo Code - CJC99R Valid for all users Step to apply- 1. Login godaddy account 2...

24/02/2022

C # Exception Handling Exception Handling in C # is a process to handle runtime errors . We perform exception handling so that normal flow of...

24/02/2022

Q #41) List the different normalization forms? Answer: Different normalization forms are: 1NF (Eliminate Repeating Groups) : Make a separa...

21/02/2022

राजद सुप्रीमो लालू प्रसाद यादव को चारा घोटाले के डोरंडा कोषागार से 139.35 करोड़ की अवैध निकासी के मामले में पांच साल क.....

Pulwama attack is one of the deadliest terror attacks in Jammu and Kashmir in which 40 Central Reserve Police Force (CRP...
14/02/2022

Pulwama attack is one of the deadliest terror attacks in Jammu and Kashmir in which 40 Central Reserve Police Force (CRPF) personnel were martyred. The Pulwama attack happened on February 14, 2019, when a Jaish su***de bomber rammed a vehicle carrying over 100 kg of explosives into their bus in Pulwama district. The attack also left many critically wounded.

The Pakistan-based terror group Jaish-e-Mohammed had claimed the responsibility for the attack. The police had identified the su***de bomber as Adil Ahmed alias Waqas Commander from Kakapora in Pulwama.

On February 26, 2019, at 0330 hours, a group of Mirage 2000 Indian Air Force's Fighter jets destroyed the major terrorist camps of JeM across the LoC.

राहुल बजाज का हौसला उन्हें बड़ा उद्योगपति तो बनाता है लेकिन निडरता उन्हें एक बहादुर इंसान बनाती है। वह बिना डरे बेबाकी स...
13/02/2022

राहुल बजाज का हौसला उन्हें बड़ा उद्योगपति तो बनाता है लेकिन निडरता उन्हें एक बहादुर इंसान बनाती है। वह बिना डरे बेबाकी से अपनी बात रखते थे फिर चाहें सामने सरकार हो या कोई बड़ी हस्ती।
भारतीय उद्योग जगत में राहुल बजाज की पहचान मुनाफे के लिए काम करने वाले उद्योगपति से ज्यादा बिना लाग-लपेट के विचार व्यक्त करने वाले उद्यमशील विचारक की रही है। अपनी बात उन्होंने हमेशा निडरता से सामने रखी, भले ही वह बात उन्हें राजनीतिक रूप से नुकसान क्यों न पहुंचाए। उनकी कामयाबी सिर्फ व्यापार क्षेत्र तक सीमित नहीं थी, बल्कि वह समाज के बड़े तबके को आत्मसम्मान की अनुभूति कराने वाले नायक के तौर पर हमेशा याद किए जाएंगे।
उनकी उद्यमशीलता ने देश के घर-घर में दुपहिया वाहन पहुंचा दिया जिससे लोगों में गौरव और आत्मसम्मान उपजा। करीब पांच दशक तक भारतीय व्यापार जगत में सितारे की तरह जगमगाते राहुल बजाज देश की उन महान विभूतियों में शामिल हैं, जिनका कद उनकी जिंदगी से बहुत बड़ा होता है और जिनके व्यक्तित्व से देश और समाज रोशन होता है।

11/02/2022

Q1. What is C-Sharp (C #)?
Ans: C # is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL).

Q2. Explain the types of comments in C #?
Ans: Below are the types of comments in C #:

Single Line Comment Eg : //

Multiline Comments Eg: /* */

XML Comments Eg : ///

Q3. So what makes your code really object-oriented?
Ans: In order to understand this, we must first analyze what benefits we can derive from OO. In order to do this, we must clearly understand its foundation. So given that C # is at its core object-oriented.

Q4. What is Cohesion?
Ans: In OOPS we develop our code in modules. Each module has certain responsibilities. Cohesion shows how much a module responsibilities are strongly related.

Higher cohesion is always preferred. Higher cohesion benefits are:

Improves maintenance of modules.
Increase reusability.
Q5. Why are strings in C # immutable?
Ans: Immutable means string values cannot be changed once they have been created. Any modification to a string value results in a completely new string instance, thus an inefficient use of memory and extraneous garbage collection. The mutable System.Text.StringBuilder class should be used when string values will change.

Q6. List out the differences between Array and Array List in C #?
Ans: Array stores the values or elements of same data type but array list stores values of different data types.

Arrays will use the fixed length but array list does not uses fixed length like array.

Q7. What are the fundamental principles of OO programming?
Ans: As a developer, you might be tempted to answer that it comprises things like Encapsulation, Polymorphism, Abstraction, and Inheritance. Although this is true, it doesn’t really explain the fundamental core of what OO is and what its benefits are.

Principles are crucial but they are not the most important aspect of what OO actually is. What is really important is to understand in what grounds OO is built upon, or in other words, what are the foundations of OO programming.

The two most fundamental core concepts on which OO has been built upon in C # are this pointer and Dynamic Dispatch.

Obviously, there are principles like Encapsulation, Polymorphism, Abstraction, and Inheritance, but these are the consequence and not the generating force behind the OO paradigm in C #.



Q8. What is coupling?
Ans: OOPS Modules are dependent on each other. Coupling refers to level of dependency between two software modules.

Two modules are highly dependent on each other if you have changed in one module and for supporting that change every time you have to change in dependent module.

Loose Coupling is always preferred.

Inversion of Control and dependency injections are some techniques for getting loose coupling in modules.

Q9. What is the ex*****on entry point for a C # console application?
Ans: The Main method.


Q10. Why to use “using” in C #?
Ans: “Using” statement calls – “dispose” method internally, whenever any exception occurred in any method call and in “Using” statement objects are read only and cannot be reassignable or modifiable.

Q11. What is the this Pointer?
Ans: The this pointer is silently passed with a call to an instance-level function, which then operates on an object (instance of a class).

Basically, this core mechanism makes it possible to bring operations close to data. It also eliminates the need to have global functions and it gives data structures the intrinsic ability to perform operations on its data.

Q12. What is Abstraction?
Ans: Abstraction is a technique of taking something specific and making it less specific.

In OOPS we achieve the abstraction by separating the implementation from interface. We take a implemented class and took only those method signatures and properties which are required by the class client. We put these method signatures and properties into interface or abstract class.

Q13. How do you initiate a string without escaping each backslash?
Ans: You put an @ sign in front of the double-quoted string.

String ex = @"This has a carriage return\r\n"

Q14. Explain namespaces in C #?
Ans: Namespaces are containers for the classes. We will use namespaces for grouping the related classes in C #. “Using” keyword can be used for using the namespace in other namespace.

Q15. What is the OO fundamental idea using C # that allows a data structure to perform operations on its own data?
Ans: What would your answer be? Pretty obvious. The humble this pointer.

Notice that despite this being a mind-bending idea, we can already start to appreciate the bigger picture for which C # was designed.

The this pointer is basically a way for a data structure (object) to be able to access methods that allow itself to perform operations on its own data. It is a way to manage state within a data structure.

Now let’s talk a bit about the other core concept that takes this to the next level.

Q16. What is Encapsulation?
Ans: In non object oriented languages, data and behaviors are not tied together. That means any function in the program can modify the data.

In Encapsulation, we bind the data and behaviors in one object. Only defined behaviors in a class can modify the data. We hide the state of an object by using properties and methods. Clients of the object only see these behaviors and by only these behaviors clients can modify the data.

We also protect the data by using access specifiers. We put the private / protected keywords before data to protect it from the outside world.

Q17. What is the difference between a struct and a class?
Ans: Structs cannot be inherited. Structs are passed by value and not by reference. Structs are stored on the stack not the heap. The result is better performance with Structs.

Q18. Explain “static” keyword in C #?
Ans: “Static” keyword can be used for declaring a static member. If the class is made static then all the members of the class are also made static. If the variable is made static then it will have a single instance and the value change is updated in this instance.

Q19. What is a singleton?
Ans: A singleton is a design pattern used when only one instance of an object is created and shared; that is, it only allows one instance of itself to be created. Any attempt to create another instance simply returns a reference to the first one. Singleton classes are created by defining all class constructors as private. In addition, a private static member is created as the same type of the class, along with a public static member that returns an instance of the class. Here is a basic example:

public class SingletonExample { private static SingletonExample _Instance; private SingletonExample () { } public static SingletonExample Get Instance() { if (_Instance == null) { _Instance = new SingletonExample (); } return _Instance; }}

Q20. Why to use “finally” block in C #?
Ans: “Finally” block will be executed irrespective of exception. So while executing the code in try block when exception is occurred, control is returned to catch block and at last “finally” block will be executed. So closing connection to database / releasing the file handlers can be kept in “finally” block.

Q21. What is boxing?
Ans: Boxing is the process of explicitly converting a value type into a corresponding reference type. Basically, this involves creating a new object on the heap and placing the value there. Reversing the process is just as easy with unboxing, which converts the value in an object reference on the heap into a corresponding value type on the stack. The unboxing process begins by verifying that the recipient value type is equivalent to the boxed type. If the operation is permitted, the value is copied to the stack

Q22. Can we have only “try” block without “catch” block in C #?
Ans: Yes we can have only try block without catch block.

Q23. How to move to a State-related Codebase?
Ans: So now that we’ve explored these concepts, let’s move to a state-related code base. So you might be asking yourself at this moment.

Q24. What is the difference between “out” and “ref” parameters in C #?
Ans: “out” parameter can be passed to a method and it need not be initialized where as “ref” parameter has to be initialized before it is used.

Q25. How are methods overloaded?
Ans: Methods are overloaded via different signatures (number of parameters and types). Thus, you can overload a method by having different data types, different number of parameters, or a different order of parameters.

Q26. Explain Jagged Arrays in C #?
Ans: If the elements of an array is an array then it’s called as jagged array. The elements can be of different sizes and dimensions.

Q27. How do you prevent a class from being inherited?
Ans: The sealed keyword prohibits a class from being inherited.

Q28. What you mean by inner exception in C #?
Ans: Inner exception is a property of exception class which will give you a brief insight of the exception i.e, parent exception and child exception details.

Q29. What is the GAC, and where is it located?
Ans: The GAC is the Global Assembly Cache. Shared assemblies reside in the GAC; this allows applications to share assemblies instead of having the assembly distributed with each application. Versioning allows multiple assembly versions to exist in the GAC—applications can specify version numbers in the config file. The gacutil command line tool is used to manage the GAC.

Q30. Explain circular reference in C #?
Ans: This is a situation where in, multiple resources are dependent on each other and this causes a lock condition and this makes the resource to be unused

07/02/2022
05/01/2022

बिहार COVID गाइडलाइन
===========================================
बिहार में नाइट कर्फ्यू का ऐलान हो गया है. मंगलवार को हुई सीएम नीतीश कुमार की अध्यक्षता में हुई आपदा प्रबंधन की बैठक में इस बात का फैसला हुआ.अब राज्य में रात 10 बजे से सुबह 5 बजे तक नाइट कर्फ्यू रहेगा. आवश्यक सेवाओं को छोड़कर सभी दुकाने 8 बजे तक ही खुलेंगे। सभी सिनेमा हॉल, जिम, पार्क, स्टेडियम एवं सभी पूजा स्थल बंद रहेंगे। शादी विवाह में अधिकतम 50 व्यक्ति तथा अंतिम संस्कार में 20 व्यक्ति की अनुमति होगी। इसके साथ ही स्कूलों को बंद करने का फैसला बैठक में किया गया है.

अब राज्य में 6 जनवरी से 21 जनवरी तक कक्षा 8वीं तक के सभी स्कूल बंद रहेंगे, जबकि 9वीं कक्षा से ऊपर क्लास 50 फीसदी संख्या के साथ या फिर स्कूल प्रबंधन के अनुसार वर्चुअल चलेगी. मुख्यमंत्री नीतीश कुमार का जनता दरबार और समाज सुधार अभियान 21 जनवरी तक स्थगित किया गया है.

AMR TECH India - Computer, Laptop, Desktop, Tablet and Mobile Repair Services in Dharamshala Road, Sasaram - 821115For d...
09/12/2021

AMR TECH India - Computer, Laptop, Desktop, Tablet and Mobile Repair Services in Dharamshala Road, Sasaram - 821115
For door step service -
Call Us: 8825353382 or, 9525383085
Visit: http://amrtechindia.in

The tomb of Sher Shah Suri is in the Sasaram town of Bihar state, India. The tomb was built in memory of Emperor Sher Sh...
10/08/2021

The tomb of Sher Shah Suri is in the Sasaram town of Bihar state, India. The tomb was built in memory of Emperor Sher Shah Suri, a Pathan from Bihar who defeated the Mughal Empire and founded the Suri Empire in northern India. He died in an accidental gunpowder explosion in the fort of Kalinjar on 13 May 1545 AD.

This tomb is an example of Indo-Islamic architecture, it was designed by the architect Mir Muhammad Aliwal Khan and built between 1540 and 1545, this red sandstone mausoleum (122 ft. high), which stands in the middle of an artificial lake, which is nearly square, is known as the second Taj Mahal of India. The tomb stands at the center of the lake on a square stone plinth with domed kiosks, chhatris at each of its corners, further there are stone banks and stepped moorings on all sides of the plinth, which is connected to the mainland through a wide stone bridge. The main tomb is built on octagonal plan, topped by a dome, 22-metre in span and surrounded ornamental domed kiosks which were once covered in colored glazed tile work.

The tomb was built during the lifetime of Sher Shah as well as the reign of his son Islam Shah. An inscription dates its completion to August 16, 1545, three months after the death of Sher Shah.

07/07/2020

Address

Sasaram
821115

Alerts

Be the first to know and let us send you an email when POST 2 DOST posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share


Other News & Media Websites in Sasaram

Show All