|
Have you ever need any collection that do not exist in the .NET Framework? In that case please type your experiences and say the new collections you wanted in the .NET Framework. This is for a work I'm doing for school. Any Opinion will be appreciated. Thanks .
|
|
|
|
|
The two biggies that I've implemented are a Sparse Matrix collection, and a Red/Black Balanced Tree. Both missing from .NET.
|
|
|
|
|
SortedSet<T> has Red-Black Tree behavior. Any way. Thanks
|
|
|
|
|
It didn't when I wrote it way back when. This has only been available since.NET 4.
|
|
|
|
|
|
rathmA_ wrote: Have you ever need any collection that do not exist in the .NET Framework?
class EmployeeCollection = List<Employee> { }
A programming language never "delivers" all possible building blocks, as one can expect the programmer to be able to, well, program.
Can you define a bit more precise what you mean by a collection[^] that does not exist in .NET? here's no TStringList in .NET (like Delphi has), but I never missed it.
|
|
|
|
|
I am new to .Net framework how can i learn fast and be productive as i have programming skills in java,c.
|
|
|
|
|
Why have you posted the same question a second time?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
i thought that i've asked the question in wrong forum so i posted it second time
|
|
|
|
|
I am new to .Net framework how can i learn fast and be productive as i have programming skills in java,c.
|
|
|
|
|
You could start with this book[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
where can i ask question for sql sever reporting services for 2008.
thanks
|
|
|
|
|
Here perhaps[^]?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hey guys,
Is there a string compression that works in all programming languages?
for example, if I compress the return string of a .net web service method, and the caller from another platform can decompress the returing string
|
|
|
|
|
Maybe gzip? Since it is used to compress HTTP bodies, and suppose to be light and quick should be implemented in most of environments.
No more Mister Nice Guy... >: |
|
|
|
|
|
Thanks for the quick response
I will check it out
|
|
|
|
|
Yes I should really get to work. Now. Just can't force myself to work on another one of WCF services. Bleh
No more Mister Nice Guy... >: |
|
|
|
|
|
I'm trying to compile a archivo.mex. net and when I build I get this error
Executing command: C:\WINDOWS\Microsoft.NET\Framework\v3.0\csc.exe /nologo /optimize /doc:"D:\Matlab\bin\grabacionn\src\grabacionn.xml" /t:library /r:"D:\Matlab\toolbox\dotnetbuilder\bin\win32\v2.0\MWArray.dll" /resource:"D:\Matlab\bin\grabacionn\src\grabacionn.ctf" /out:"D:\Matlab\bin\grabacionn\src\grabacionn.dll" "D:\Matlab\bin\grabacionn\src\Class1.cs" "D:\Matlab\bin\grabacionn\src\dotnet_mcc_component_data.cs"
"C:\WINDOWS\Microsoft.NET\Framework\v3.0\csc.exe" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Error: An error occurred while shelling out to CSC (error code = 1).
Unable to build executable.
if anyone can tell me I should do that because the framework rebice but I have the csc.exe
modified 19-Nov-12 23:14pm.
|
|
|
|
|
..and now again, in English
Just use a translator. I don't care how bad it sounds, can't be worse than my average post - a half decent English post still reaches a wider audience than a Spanish one.
|
|
|
|
|
|
When I look into C:\Windows\Microsoft.NET\Framework\v3.0 , I do not see a csc.exe . But there is one in C:\Windows\Microsoft.NET\Framework\v2.0.50727 .
|
|
|
|
|
I alter the deployments, .. settings, .. . net .. 2.0 this worked
|
|
|
|
|
You won't find a csc.exe under the .NET 3.0, 3.5 or 4.5 folders as these versions are just extensions on top of the .NET 2.0 and .NET 4.0 versions, which will have csc.exe.
|
|
|
|
|
Hello everybody,
I have a problem about the modification of fields (such as textbox, label, acc) of a form from another thread.
I state that I am not an expert on Visual Studio 2008 and, unfortunately, even on VB.NET but I have to use these tools to write an application that runs on a device with Windows CE 5.0.
In another forum I've already found a post about it and I followed the solution proposed.
Everything works if I write all the code in the class of my form (Form1), I mean in the Form1 there is a button that starts a thread that increments by 1 a variable declared in Form1, and then calls a "Sub AggLab()", always in Form1, that updates the contents of a label (in Form1) with the increased value of the variable:
Imports System.Threading
Public Class Form1
Dim MyNewThread As Thread
Dim tmp As Int32 = 0
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MyNewThread = New Thread(AddressOf SubDelThread)
MyNewThread.Name = "NuovoThread"
MyNewThread.Start()
End Sub
Private Sub SubDelThread()
Do
tmp = tmp + 1
AggLab()
Thread.Sleep(1000)
Loop
End Sub
Private Delegate Sub AggLabDel()
Private Sub AggLab()
If Me.InvokeRequired Then
Me.BeginInvoke(New AggLabDel(AddressOf AggLab))
Return
End If
Label1.Text = tmp.ToString
End Sub
End Class
But if the function executed within the thread is in a different class/file it does not work anymore:
Imports System.Threading
Public Class Form1
Dim MyNewThread As Thread
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MyNewThread = New Thread(AddressOf MyThread.MyThreadExecute)
MyNewThread.Name = "NuovoThread"
MyNewThread.Start()
End Sub
Private Delegate Sub AggiornaLabelDelegate()
Public Sub AggiornaLabel()
If Me.InvokeRequired Then
Me.BeginInvoke(New AggiornaLabelDelegate(AddressOf AggiornaLabel))
Return
End If
Label1.Text = MyThread.iii.ToString
End Sub
Imports System.Threading
Public Class MyThread
Private Shared miii As Int32 = 0
Public Shared Property iii() As Int32
Get
Return miii
End Get
Set(ByVal value As Int32)
miii = value
End Set
End Property
Public Shared Sub MyThreadExecute()
Do
iii = iii + 1
Form1.AggiornaLabel()
Thread.Sleep(1000)
Loop
End Sub
End Class
What I check with debugging is that in this case "Me.InvokeRequired" is always false.
Where did I go wrong?
Can anyone give me a tip?
Thanks in advance.
|
|
|
|