shafiq.chaudhry.cs's Profile
Reputation: 2
Apprentice
- Group:
- Members
- Active Posts:
- 44 (0.05 per day)
- Joined:
- 10-December 10
- Profile Views:
- 3,555
- Last Active:
May 31 2013 05:32 AM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Dictionary.EnumerateDirectories(string str) problem
Posted 3 Nov 2012
Momerath, on 03 November 2012 - 02:24 AM, said:Do you really have directory called "D:\Shafiq\Hussain\Gujjar\student\of\computer\science\and\now\learning\C#\programming\and\currently\doing\practices\in\directories" and it has subdirectories?
Code works fine for me.
Yes, I have this directory..... ohhhh yeahhhh, big people learn big things by very stupid things .. really no directory has a sub-directory ...... but what I was considering that I was expecting the number recursive directories in a given path....... any how I got the point.. thanks of you -
In Topic: Printing your drawing
Posted 3 Aug 2012
private void saveButton_Click(object sender, EventArgs e) { objDrawingSurface = new Bitmap(this.Width, this.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb); rectBounds = new Rectangle(0, 0, this.Width, this.Height); this.DrawToBitmap(objDrawingSurface, rectBounds); saveFileDialog1.Filter = "JPG files (*.JPG | *.JPG"; saveFileDialog1.FileName = questionId; if ((saveFileDialog1.ShowDialog() == DialogResult.OK)) { objDrawingSurface.Save(saveFileDialog1.FileName, System.Drawing.Imaging.ImageFormat.Jpeg); } } -
In Topic: Object to int error
Posted 27 Feb 2012
AdamSpeight2008, on 27 February 2012 - 09:06 PM, said:So what objects in .net ca represented as object?
Answer any of the them. So the objects in the ArrayList can only have the methods available to them all, which are the available on object.
If it's blind to what type the element is expect that it's an Object how can it do mathematics on them? Something of type Object could be anything.
This is why we recommend the type-safe options like List(Of T) where you specify the type for T. Then any T's can put in the list.
So you create a List(Of Integer) then you can put strings in it etc. Also knowing it contains only a know type Integer, and it knows how to do math on integers.
Oh yes, now I got the point thanks dear for intuitive explanation
-
In Topic: Object to int error
Posted 27 Feb 2012
Curtis Rutland, on 27 February 2012 - 09:05 AM, said:Ok, you've had several homework style questions this morning. You aren't trying to use us to do your homework for you, are you?
hahahah no way Sir !! ... really I'm asking questions by following this philosophy that if you face any minor sort of confusion don't hesitate to ask question then ..... So just I came across with this confusion, I just post it here for better and timely guidelines ... You know I can consult a book too, but talking with you people (experienced) I understand many other things as well, which a book can't teach me ... so thanks for your viewing and replying me
-
In Topic: Namespace issue
Posted 27 Feb 2012
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Contact Information
- E-mail:
- Private
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
shafiq.chaudhry.cs has no profile comments yet. Why not say hello?