Questions tagged [C#] (7211)

3
answers

Where to start learning C#?

As I start to grasp at C++, I'm afraid, and for Java. But I want to try to write games for windows. Doom 10 I will write later, for the beginning is enough turn-based RPGs. Independent of network connectivity. Please tell me what should I do ? Where to start ? Computer familiar 10 times, in command line run, but I abstruse...
scotty_Abshire asked April 2nd 20 at 17:26
3
answers

VkNet — UserId and Message.Body is null, why?

Good day, create something like a bot for VC. The bot must reply to the message text contained in the message. Here is my code:while (true) //infinite loop that check the updates { try { var poll = api.Groups.GetBotsLongPollHistory( new BotsLongPollHistoryParams() { Server = s.Server, Ts = s.Ts, Key = s.Key, Wait = 1 });...
elna43 asked April 2nd 20 at 17:24
3
answers

Unity3D FPS Question regarding bots and their decomposition into molecules, and how to implement it?

Began development of a small project, shuterok with elements of the bloodbath. So the question is: how in Unity you can implement the disintegration of the character models so to say "to pieces" , when receiving damage previoushigh amount of HP? A couple of ideas, but to consult does not hurt, and people who think that sit...
consuelo_Wiegand asked April 2nd 20 at 17:22
1
answer

How to dynamically create elements in a Grid?

I have a collection of data and the associated ListBox.<Grid Grid.Column="1"> <ListBox ItemsSource="{Binding Notes}"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Background="#FF81E072"> <TextBlock Text="{Binding Title}" /> </StackPanel> </DataTemplate> </ListBox.It...
Geraldine.Lynch asked April 2nd 20 at 17:15
3
answers

Entity Framework — do not need?

Not long ago I heard the opinion that "If for a long time, reliably and with the support Entity Framework. If a quick throw together something simple something ADO.NET". Time to discuss why people thinks it was not, but his point stuck with me, because I saw it a little differently. Eric Evans in his book "Object-oriented d...
Ryley_Schaden asked April 2nd 20 at 17:13
1
answer

I can give a few answers about Event Sourcing?

Hello, I was interested in an Event sourcing model, and as an experiment have thrown Todo-shku with the use of this approach. I wish you would look at implementation and maybe suggested how else to implement eventy, their mutation, and generally ripping off of the unit. I have to say that is only interested in the variant i...
eden.Erns asked April 2nd 20 at 17:11
2
answers

How to make the log output works in XML file in c#?

Don't understand how to make the XML output.
Kevon_Feeney20 asked April 2nd 20 at 17:08
2
answers

How to access the object hidden on the stage?

You want to refer to an object which is hidden on the stage, tell me how to do it?
raheem.Goyette asked April 2nd 20 at 17:08
0
answer

How to change the background color of toggle button in WPF?

Using WPF in Visual Studio Created toggle button. You need to hover the mouse changed the background of the button. The background property for the hover button is not working, and all the other properties work, and when I build the button, the background becomes light blue, the color I never indicated, apparently this stan...
Doris asked April 2nd 20 at 17:08
1
answer

Why the binding does not work?

Information on the subject a little, picked it up bit by bit. I want when you enter TextBox changed fields of the object NewNote (to then add this object to the database, this code I commented out). When this command defined in the ViewModel is working correctly. Model:using System; using System.Collections.Generic; using S...
Maverick asked April 2nd 20 at 17:06