
Search In
Const keyword
Const variable in C# are compile time variable i.e value is known at compile time.
The assignment to const variable is only done at the time of declaration and this value of variable remain constant throughout lifetime of the progra
IEnumerable
IEnumerable is an interface which is implemented to support the ForEach semantics of Microsoft Visual Basic. It contains GetEnumerator method therefore exposes the enumerator, which in turn performs a simple iteration over a collec
Program:
You can print your message in C with using a semicolon. Let see how?
e.g. Let us print the message Welcome in C.
There is three ways:
1. Using switch:
#include<stdio.h>
void main(){
switch(printf("Welcome"))
If we want to calculate the distance from the array which contains the coordinates i.e Latitude and Longitude then use the following code-
-(void) getDistanceFromArray {
CLLocationDistance totalKilometers = 0;
for (int i = 0; i < (self.arra
Hello readers,
To Delete a File in Java is not a big issue, you don't need to do any rocket science for this.
So if you want to delete the file in java here below is the method.
To delete the file, you just have to issue the File.delete(), which w
Namespace
In C++ two variables with the same name are not possible in the same scope i.e a name given to specific type or function represent one entity in a particluar scope but with namespaces, there is a possibility to create two variables or memb
Here i am displaying you a demo of creating a html table using all the columns and rows of datatable in c#.
Suppose we have a datatable which contains data regarding items and we want this data to be sent to users through email as html(email`s body
Hello friends,
Today, we will learn how to get the last element of an array using PHP. There are various ways of doing it which are as follows:
1. end(): PHP proivdes an in-built function which returns the last element of an array end().
Syn
Hello there!
Well, i have a problem. a big one. I need to be re-examined in order to change my major at college. So, in order to do this, the following problem should be solved until 28 May .
> Eulerian cycles. Implement two algor
Swift is faster than Objective-C and programmers prefer Swift for iOS development. Apple has aimed big goals with Swift but some programmers are still using Objective-C.
Here is an example of calling Objective-C code in Swift. Acco
