-
Prospect
Hi,
Just a short review to let me tell how impressed I am with Cegonsoft profile, and how much I benefited from the dot net training I participated in. The training provided to me by Cegonsoft was invaluable. I was very fortunate to have the dot net training in Cegonsoft. The training skills of the faculties are excellent and Cegonsoft profile supplied the complete materials which makes sure everyone understands and there are no unanswered questions before the instructor proceeds to another "lesson".
The HR Consultancy service in Cegonsoft is very good. They placed me in a good company immediately after training.
I will recommend Cegonsoft to anyone seeking quality training and placement.
final year projects
-
Prospect
Hi all, I have completed Dot Net course in Cegonsoft. The trainer delivered the content in most understandable manner with all his efforts, in a number of ways that a student does not need any prior extra-ordinary talents. His approach towards any issue/topic is really awesome. His dedication towards his work is highly commendable. After attending his classes I feel I'm so fortunate for getting such a quality course in a quality institute. I want to show my gratitude towards the trainer and Cegonsoft for imparting such a quality education.
final year projects
-
Prospect
Cegonsoft is a great training centre. I have taken MS.Net training and it was very useful to me. Many .Net concepts were cleared to me during the training. The trainer explains the concept clearly with valid real time examples. His training classes were interactive as well as practical. What the definitions in the books says, he implements those in his class. The great thing about Cegonsoft is that after completion of course they provide job assistance and helps students to get the appropriate job.
final year projects
-
Prospect
C# provides somany array program facility.It provides the jagged array concept more easier than ever..
-
Prospect
Very often you want to create a method that returns the number of some kind. In most cases, you do not know the number of elements in the opposite (for example, the return from the database). The problem is that when you declare the array in C #, you must specify the number of elements in the array. The following code fragment shows the declaration range of languages to 10 elements.
Array declaration in C #
String [] = new String aFoo [9];
One way to go about this problem would be to create an array large enough so that it is unlikely that the actual number of items exceeds its size.
Oversize the array
public String [] getFoo () {
/ / Your assumption is that the number of returned items never exceeds 1001
String [] tmp = new string [1000];
int i = 0;
/ / Connect to the database and create a data reader (myReader)
while (myReader.Read ()) {
/ / Do some cool stuff here
tmp [i] = (string) myReader ["name"];
i + +;
return tmp;
Yes, no doubt it would work. However, in most cases just the waste of memory. The more you want to reduce the risk that the table is too small, more memory is lost. However, you can reduce risk, not eliminate it. Also, frankly, this approach is not very elegant.
We need a way to expand our dynamic range. This is where the ArrayList in the building. You will find in the System.Collections namespace. ArrayList can be filled with a number of elements (via the Add method) and provides a method that returns an array of these elements. This is exactly what we want.
Dynamic Array, ArrayList
public String [] getFoo () {
System.Collections.ArrayList al = new ArrayList ();
/ / Connect to the database and create a data reader (myReader)
while (myReader.Read ()) {
/ / Do stuff here is cool
al.Add ((String) myReader ["name"]);
return (String []) al.ToArray (typeof (string));
As you can see that we add to the ArrayList object as many times as necessary. If the while loop is repeated 3 times, we will have three elements. If it is repeated 1003 times, we will have 1003 elements.
One thing that was not exactly at first sight, the last line of code where we return to the table. Let's look at it. The method ToArray expects parameter type Type (that is also an overload with no parameters that returns a number of objects). Since we want an array of strings, we need to pass the string type, so typeof (string). ToArray method return type is Object []. The reason is obvious - this method can return arrays of all types, so it must use the lowest common denominator, and with respect to the object hierarchy is the object type. But the returned array has a unique shape and we have to tell the compiler that we refer to it. That's why we use the term dominant (String []) and set up a battle between the return type of our method and object, is back.
Properties listed on the ToArray method - its ability to send pictures of any type - can also be used to return arrays of a custom type. In the following we first delcare a custom class. So we rewrite our method getFoo to return arrays of custom type.
Dynamic groups into custom ArrayList type
{Public class MyCustomClass
MyCustomClass public (myProperty String) {
_MyProperty = MyProperty;
public String MyProperty {
get {
Back _MyProperty;
set {
_MyProperty = Value;
}
_MyProperty Private;
/ / ...
public MyCustomClass [] getFoo () {
System.Collections.ArrayList al = new ArrayList ();
MyCustomClass MyClass;
/ / Connect to the database and create a data reader (myReader)
while (myReader.Read ()) {
/ / Do stuff here is cool
MyCustomClass myClass = new ((String) myReader ['name']);
al.Add (myClass);
return (MyCustomClass []) al.ToArray (typeof (MyCustomClass));
-
Prospect
reference keyword in c# - The ref keyword is used to pass values by reference. (This does not preclude the passed values being value-types or reference types). Output parameters specified with the out keyword are for returning values from a method.
One key difference in the code is that you must set the value of an output parameter within the method. This is not the case for ref parameters.
-
Prospect
Hey everybody, I did MS .NET in Cegonsoft. It’s ultimate pleasure for any student to be a part of the well organized institute like Cegonsoft. There are really excellent presentations of the subject. I liked the faculty's interactivities with the students and awesome explanation of the concepts.
Another great thing about Cegonsoft is their placement activities. The Placement cell is conducting soft skills training and sessions on GD and interview techniques which helps students to get the desired job.
final year projects
-
Prospect
ArrayList object is a collection of objects, where a single data value.
______________________
cegonsoft.org
-
Prospect
Hi,
Cegonsoft is a great institute. The strength is well qualified and experienced IT professionals are dealing with the courses in Cegonsoft. About Placement they organize sections for placement activities which help students in proper preparation for an interview. There is more training, more Lab Facilities with less fees in Cegonsoft compared to other institutes.
final year projects
-
Prospect
C# has a sensibly limited preprocessor. There are no macro functions. What you see is what you get. A C# source file is not required to have the same name as the class it contains. Identifiers should follow the camelCasing or PascalCasing notation depending on whether they are private or non-private respectively. Hungarian notation is officially not recommended. C# is a case sensitive language so Main must be spelled with a capital M. A C# program exposing two identifiers differing only in case is not CLS compliant. C# offers exception handling features using the try/catch/finally keywords. Exceptions are used extensively in the Base Class Library (BCL). C# also supports C++ like namespaces as a purely a logical scoping/naming mechanism. You can write using directives to bring the typenames in a namespace into scope.
Final Year Projects
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules