c# 6.0

  1. Aurel

    Question about Interface

    Hi there, First things first, I'm using C# Core 7 preview not C#6 (not available in the list but it's whatever). So I create a basic interface : public interface IRegularPolygon { static readonly int SideCount; public RectangleF Bounds { get; } public IList<PointF> Points { get...
  2. S

    Replace shortcode with partialview in ASP .NET

    I have defined few shortCode in Database. When i am displaying in view, ShortCode not replacing with the PartalView defined in the Dictionary. In Database i am creating a field Description. There i am storing HTML text along with Few Short code. When i display Description in view. I want the...
  3. S

    Resolved Buttons for single row datagridview

    Hello everybody, I would need some help, I'm creating a program, and through the datagridview function I get the data from the mysql database, but I need to be able to add buttons (with images) on some lines. at this moment it adds the button on all lines Example: If the event has associated a...
  4. 6

    Question Get current item in Randomized List

    Hello I have made a simple music player that plays a randomized list of songs and when a song stops, it starts playing the next song: public class PlayrList { private Queue<string> playlist; private IWavePlayer player; private WaveStream fileWaveStream...
  5. dbjoe

    Expression API to build linq query

    Hello, I'm looking for some help with this problem that I am having. I am trying to build a dynamic where clause for Entity Framework using the Expression API. I have a dictionary that contains the following as an example: myDictionary.Add("ColumnName1", "Column1Value")...
  6. M

    Question Unity Camera main returns null

    Hi cansomebody give me "hint" / "point" where is my misstake in code that i recive camera.main null error? Thank you for time and respon and pls sory for my english, am not perfect if you can explain little bit of easy way that i can understand will aprichiate very much, its c# script and i cant...
  7. Anime4000

    Question XDocument get value by specific element & key/tag

    Hello... I have an XML file which is generated by FFprobe (FFmpeg), Code: <?xml version="1.0" encoding="UTF-8"?> <ffprobe> <streams> <stream index="0" codec_name="h264" codec_long_name="H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10" profile="High" codec_type="video"...
Top Bottom