Main Content

Please wait...

Complete Array: Tricky Question Solution in C#

Complete Array: An array is defined to be complete if the conditions (a), (d) and (e) below hold. a. The array contains even numbers b. Let min be the smallest even number in the array. c. Let max be the largest even number in the array. d. min does not equal max e. All numbers between min and max are in the array For example {-5, 6, 2, 3, 2, 4, 5, 11, 8, 7} is complete because a. The array contains even numbers b. 2 is the smallest even number c. 8 is the largest even number d. 2 does ......Read More

Magic Array:Tricky Question Solution in C#

Q.) An array is defined to be a Magic array if the sum of the primes in the array is equal to the first element of the array. If there are no primes in the array, the first element must be 0. So {21, 3, 7, 9, 11 4, 6} is a Magic array because 3, 7, 11 are theprimes in the array and they sum to 21 which is the first element of the array. {13, 4, 4, 4, 4} is also a Magic array because the sum of the primes is 13 which is also the first element. Other Magic arrays are {10, 5, 5}, {0, 6, 8, 20} and ......Read More

Biggest Issues in IT today

With the concerns about Security, retraining IT talent to find new revenue streams, CIOs have many problems that keep them awake at night. With the starting of the new year, some new problems and concerns arrive in the IT industry. So, we can see some subtle and non-subtle shifts from the concerns of 2018 and this will continue year after year. The major problem of Data Overload that was a concern some year ago has now evolved as new data hungry tools and can be implemented with AI for makin ......Read More
Everything has been changing in this world and likewise the frameworks of .Net Platform. The .Net is the technology provided by the Microsoft to simplify the software development. And Its frameworks have been updating time to time. The most recent one is core 3.0 preview 1. Both are the Frameworks provided by .Net platform to build the server-side applications. Both Frameworks are based on C# Programming language so we can exchange the code across. However, there is difference in fundame ......Read More
Middleware is software that’s assembled on the application pipeline to handle request and responses over the pipeline.Middleware has access to both request and response. Middleware can process and pass the request to next middleware .Middleware can handle the request and short-circuit the pipeline. It can process outgoing response .Middleware is used to execute according to their own arrangement. Middleware can be of static page or dynamic so middleware mainly is used to call next middlewa ......Read More
Client-Side Validation: Customer Side approval is done on the program on which client is entering information in the frame which are started from server side. These are basically done through JavaScript for the information which is entered. Server-side validation Server-Side Validation is done on server where application is put away and got to. This approval is done to shield application from the client who sidesteps the approval from the customer side and attempt to hurt inner application. ......Read More
View Engine in .NET is responsible for rendering your code into good looking Interface. MVC uses the views to locate and render the views we are requesting from the controller through asp action. Views can contain server controls, html tags and can have programming code. There are many view engine available like ASPX Razor Spark NHaml NDJango Hasic and many more But most of the programmers prefer to user Razor view due to its convenience There are Two View Engines used in Dot NET Fr ......Read More
Conveyor is the cloud service which allows us to collaborate over internet and share web app. Conveyor allows us to access visual studio remotely. Conveyor enables us to access our web application over internet by tunneling through firewall and router. We can use it to run same web app from multiple platforms through the network. So how do we install conveyor on visual studio and use it.Conveyor is the cloud service which allows us to collaborate over internet and share web app. Conveyor allows ......Read More

How to return View as PDF in .Net core ?

Portable Document Format(PDF) as the name refers is a file format which presents documents in a manner independent of software , hardware and OS. PDF format is very important for printing the document and information. We can display the content in our webpage in a pdf format which makes it easier to print rather than displaying it in an usual normal web page. Suppose We have a condition where we need to print the invoice or bill to the user from our system then there is a simple way for doing ......Read More
In this modern era, every organization and Executive wants to build an organization to be the best working place. So today I thought to share some of my experience as well as learning that I do regularly. Though with this post I can not complete all points but will try to provide some of the good points. Some points that will lead the organization to be the best working place, Basically, these Six points will cover all i.e., Setting the direction for your organization Communicating the cult ......Read More